Protocols

The following protocols are available globally.

  • CBLArray protocol defines a set of methods for reading array data.

    See more

    Declaration

    Objective-C

    @protocol CBLArray <NSObject, CBLArrayFragment, NSFastEnumeration>

    Swift

    protocol CBLArrayProtocol : NSFastEnumeration, CBLArrayFragment
  • CBLArrayFragment protocol provides subscript access to CBLFragment objects by index.

    See more

    Declaration

    Objective-C

    @protocol CBLArrayFragment <NSObject>

    Swift

    protocol CBLArrayFragment
  • CBLDictionaryFragment protocol provides subscript access to CBLFragment objects by key.

    See more

    Declaration

    Objective-C

    @protocol CBLDictionaryFragment <NSObject>

    Swift

    protocol CBLDictionaryFragment
  • Replication target endpoint.

    Declaration

    Objective-C

    @protocol CBLEndpoint <NSObject>

    Swift

    protocol CBLEndpoint : NSObjectProtocol
  • CBLFragment protocol provides read access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLFragment <NSObject>

    Swift

    protocol CBLFragmentProtocol : NSObjectProtocol
  • Listener token returned when adding a change listener. The token is used for removing the added change listener.

    Declaration

    Objective-C

    @protocol CBLListenerToken <NSObject>

    Swift

    protocol CBLListenerToken
  • CBLMutableFragment protocol provides read and write access to the data value wrapped by a fragment object.

    See more

    Declaration

    Objective-C

    @protocol CBLMutableFragment <CBLFragment>

    Swift

    protocol CBLMutableFragmentProtocol : CBLFragmentProtocol