CBLMutableDictionary

CBLMutableDictionary is a mutable version of the CBLDictionary.

  • Creates a new empty CBLMutableDictionary object.

    Declaration

    Objective-C

    + (nonnull instancetype)dictionary;
  • Initialize a new empty CBLMutableDictionary object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()
  • Initialzes a new CBLMutableDictionary 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 NSDictionary<NSString *, id> *)data;

    Swift

    init(data: [String : Any]?)

    Parameters

    data

    The data.