35 - (void) registerClass: (
id)classOrName
36 forDocumentType: (NSString*)type;
43 - (
nullable Class) classForDocumentType: (NSString*)type;
47 - (
nullable NSString*) documentTypeForClass: (Class)modelClass;
50 - (
CBLArrayOf(NSString*)*) documentTypesForClass: (Class)modelClass;
#define NS_ASSUME_NONNULL_BEGIN
Definition: CBLBase.h:20
A configurable mapping from CBLDocument to CBLModel.
Definition: CBLModelFactory.h:16
#define nullable
Definition: CBLBase.h:22
A CouchbaseLite document (as opposed to any specific revision of it.)
Definition: CBLDocument.h:16
instancetype sharedInstance()
Returns a global shared CBLModelFactory that's consulted by all databases.
#define NS_ASSUME_NONNULL_END
Definition: CBLBase.h:21
CBLArrayOf(NSNumber *) *CBLGeoPointToCoordPair(CBLGeoPoint pt)
Converts a point to a JSON-compatible array of two coordinates.
Definition: CBLModelFactory.h:55