Couchbase Lite
Objective-C API for iOS and Mac OS
Instance Methods | List of all members
CBLProperties Class Reference

Detailed Description

Default implementation of CBLProperties protocol, which defines a JSON-compatible object, much like an NSMutableDictionary but with type-safe accessors.

Abstract superclass of CBLDocument and (soon) CBLSubdocument.

Inheritance diagram for CBLProperties:
<CBLProperties> CBLDocument

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
- Instance Methods inherited from <CBLProperties>
(nullable id) - objectForKey:
 Gets an property's value as an object. More...
 
(BOOL) - booleanForKey:
 Gets a property's value as a boolean. More...
 
(NSInteger) - integerForKey:
 Gets a property's value as an integer. More...
 
(float) - floatForKey:
 Gets a property's value as a float. More...
 
(double) - doubleForKey:
 Gets a property's value as a double. More...
 
(nullable NSString *) - stringForKey:
 Gets a property's value as a string. More...
 
(nullable NSDate *) - dateForKey:
 Gets a property's value as an NSDate. More...
 
(void) - setObject:forKey:
 Sets a property value by key. More...
 
(void) - setBoolean:forKey:
 Sets a boolean value by key. More...
 
(void) - setInteger:forKey:
 Sets an integer value by key. More...
 
(void) - setFloat:forKey:
 Sets a float value by key. More...
 
(void) - setDouble:forKey:
 Sets a double value by key. More...
 
(nullable id) - objectForKeyedSubscript:
 Same as objectForKey:. More...
 
(void) - setObject:forKeyedSubscript:
 Same as setObject:forKey:. More...
 
(void) - removeObjectForKey:
 Removes a property by key. More...
 
(BOOL) - containsObjectForKey:
 Tests whether a property exists or not. More...
 

Additional Inherited Members

- Properties inherited from <CBLProperties>
NSDictionary * properties
 All of the properties contained in this object. More...
 

Method Documentation

- (instancetype) NS_UNAVAILABLE

Implemented in CBLDocument.


The documentation for this class was generated from the following file: