CBLMultipeerConflictResolver
@protocol CBLMultipeerConflictResolver <NSObject>
Multipeer Conflict Resolver Protocol.
-
Resolves a conflict for a document received from a peer.
Declaration
Objective-C
- (nullable CBLDocument *)resolveConflict:(nonnull CBLConflict *)conflict forPeer:(nonnull CBLPeerID *)peerID;
Parameters
conflict
The conflict object.
peerID
The peer that the conflicting document came from.
Return Value
The resolved document, or nil to delete the document.