CBLMutableFragment
@protocol CBLMutableFragment <CBLFragment>
CBLMutableFragment protocol provides read and write access to the data value wrapped by a fragment object.
-
Gets the value from or sets the value to the fragment object. The object types are CBLMutableArray, CBLBlob, CBLMutableDictionary, NSNumber, NSString, NSNull, or nil.
Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) NSObject *value; -
Get the value as a CBLMutableArray, a mapping object of an array value. Returns nil if the value is nil, or the value is not an array.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) CBLMutableArray *array; -
Get a property’s value as a CBLMutableDictionary, a mapping object of a dictionary value. Returns nil if the value is nil, or the value is not a dictionary.
Declaration
Objective-C
@property (readonly, nonatomic, nullable) CBLMutableDictionary *dictionary;
CBLMutableFragment Protocol Reference