DITDocument
@interface DITDocument : NSObject
A document belonging to a DittoCollection
with an inner value.
-
The ID of the document.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull id;
-
The document’s inner value.
Declaration
Objective-C
@property (nonatomic, readonly) NSDictionary<NSString *, id> *_Nonnull value;
-
Used to specify a path to a key in the document that you can subscript further to access a nested key in the document.
Declaration
Objective-C
- (nonnull DITDocumentPath *)objectForKeyedSubscript:(nonnull NSString *)key;
Parameters
key
The initial part of the path needed to get to the key in the document you wish to get the value of.
Return Value
A
DITDocumentPath
object with the provided key incorporated into the document path.