Protocols

The following protocols are available globally.

  • Abstract interface for an application-defined object that can resolve a conflict between two revisions of a document. Called when saving a CBLDocument, when there is a a newer revision already in the database; and also when the replicator pulls a remote revision that conflicts with a locally-saved revision.

    See more

    Declaration

    Objective-C

    @protocol CBLConflictResolver <NSObject>
  • CBLFragment protocol provides read and write access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLFragment <CBLReadOnlyFragment>
  • CBLReadOnlyArrayFragment protocol provides subscript access to CBLReadOnlyFragment objects by index.

    See more

    Declaration

    Objective-C

    @protocol CBLReadOnlyArrayFragment <NSObject>
  • CBLReadOnlyDictionaryFragment protocol provides subscript access to CBLReadOnlyFragment objects by key.

    See more

    Declaration

    Objective-C

    @protocol CBLReadOnlyDictionaryFragment <NSObject>
  • CBLReadOnlyFragment protocol provides readonly access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLReadOnlyFragment <NSObject>