Other Classes
The following classes are available globally.
-
Represents a CRDT counter that can be upserted as part of a document or assigned to a property during an update of a document.
See moreDeclaration
Objective-C
@interface DITCounter : NSObject
-
Represents a mutable CRDT counter that can be incremented by a specific amount while updating a document.
This class can’t be instantiated directly, it’s returned automatically for any counter property within an update block.
See also the
See morecounter
properties ofDITDocumentPath
andDITMutableDocumentPath
.Declaration
Objective-C
@interface DITMutableCounter : DITCounter
-
Represents a mutable CRDT Replicated Growable Array (RGA) that can be updated as part of updating a document.
This class can’t be instantiated directly, it’s returned automatically for any RGA property within an update block.
See also the
See morerga
properties ofDITDocumentPath
andDITMutableDocumentPath
.Declaration
Objective-C
@interface DITMutableRGA : DITRGA
-
Represents a mutable CRDT register that can be updated while updating a document.
This class can’t be instantiated directly. It’s returned automatically for any register property within an update block.
See also the
See moreregister
property ofDITMutableDocumentPath
.Declaration
Objective-C
@interface DITMutableRegister : DITRegister
-
Represents a CRDT Replicated Growable Array (RGA) that can be upserted as part of a document or assigned to a property during an update of a document.
See moreDeclaration
Objective-C
@interface DITRGA : NSObject
-
Represents a CRDT register that can be upserted as part of a document or assigned to a property during an update of a document.
See moreDeclaration
Objective-C
@interface DITRegister : NSObject
-
An update result when the update result’s type is
See moreset
.Declaration
Objective-C
@interface DITUpdateResultSet : DITUpdateResult
-
An update result when the update result’s type is
removed
.Declaration
Objective-C
@interface DITUpdateResultRemoved : DITUpdateResult
-
An update result when the update result’s type is
See moreincremented
.Declaration
Objective-C
@interface DITUpdateResultIncremented : DITUpdateResult
-
An update result when the update result’s type is
See morepushed
.Declaration
Objective-C
@interface DITUpdateResultPushed : DITUpdateResult
-
An update result when the update result’s type is
See morepopped
.Declaration
Objective-C
@interface DITUpdateResultPopped : DITUpdateResult
-
An update result when the update result’s type is
See moreinserted
.Declaration
Objective-C
@interface DITUpdateResultInserted : DITUpdateResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isinserted
andasInserted
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultInserted : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isremoved
andasRemoved
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultRemoved : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isevicted
andasEvicted
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultEvicted : DITWriteTransactionResult
-
Represents the write transaction result that will be the value of a
DittoWriteTransactionResult
when itstype
isupdated
andasUpdated
is called on it.Declaration
Objective-C
@interface DITWriteTransactionResultUpdated : DITWriteTransactionResult