CBLMutableArray

CBLMutableArray provides access to array data.

  • Creates a new empty CBLMutableArray object.

    Declaration

    Objective-C

    + (nonnull instancetype)array;
  • Initialize a new empty CBLMutableArray object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()
  • Initialize a new CBLMutableArray object with data. Allowed value types are CBLArray, CBLBlob, CBLDictionary, NSArray, NSDate, NSDictionary, NSNumber, NSNull, and NSString. The NSArrays and NSDictionaries must contain only the above types.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithData:(nullable NSArray *)data;

    Swift

    init(data: [Any]?)

    Parameters

    data

    The data.