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
conflictThe conflict object.
peerIDThe peer that the conflicting document came from.
Return Value
The resolved document, or nil to delete the document.
CBLMultipeerConflictResolver Protocol Reference