CBLMutableFragment

@protocol CBLMutableFragment <CBLFragment>

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

  • Gets value from or sets the value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) NSObject *value;

    Swift

    var value: NSObject? { get set }
  • Gets the value as string or sets the string value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) NSString *string;

    Swift

    var string: String? { get set }
  • Gets the value as number or sets the number value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) NSNumber *number;

    Swift

    var number: NSNumber? { get set }
  • Gets the value as integer or sets the integer value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger integerValue;

    Swift

    var integerValue: Int { get set }
  • Gets the value as long long or sets the long long value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) long long longLongValue;

    Swift

    var longLongValue: Int64 { get set }
  • Gets the value as float or sets the float value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) float floatValue;

    Swift

    var floatValue: Float { get set }
  • Gets the value as double or sets the double value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) double doubleValue;

    Swift

    var doubleValue: Double { get set }
  • Gets the value as boolean or sets the boolean value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL booleanValue;

    Swift

    var booleanValue: Bool { get set }
  • Gets the value as date or sets the date value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) NSDate *date;

    Swift

    var date: Date? { get set }
  • Gets the value as blob or sets the blob value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) CBLBlob *blob;

    Swift

    var blob: CBLBlob? { get set }
  • Gets the value as array or sets the array value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) CBLMutableArray *array;

    Swift

    var array: CBLMutableArray? { get set }
  • Gets the value as dictionary or sets the dictionary value to the fragment object.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        CBLMutableDictionary *dictionary;

    Swift

    var dictionary: CBLMutableDictionary? { get set }