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 more

    Declaration

    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 counter properties of DITDocumentPath and DITMutableDocumentPath.

    See more

    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 rga properties of DITDocumentPath and DITMutableDocumentPath.

    See more

    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 register property of DITMutableDocumentPath.

    See more

    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 more

    Declaration

    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 more

    Declaration

    Objective-C

    @interface DITRegister : NSObject
  • An update result when the update result’s type is set.

    See more

    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 incremented.

    See more

    Declaration

    Objective-C

    @interface DITUpdateResultIncremented : DITUpdateResult
  • An update result when the update result’s type is pushed.

    See more

    Declaration

    Objective-C

    @interface DITUpdateResultPushed : DITUpdateResult
  • An update result when the update result’s type is popped.

    See more

    Declaration

    Objective-C

    @interface DITUpdateResultPopped : DITUpdateResult
  • An update result when the update result’s type is inserted.

    See more

    Declaration

    Objective-C

    @interface DITUpdateResultInserted : DITUpdateResult
  • Represents the write transaction result that will be the value of a DittoWriteTransactionResult when its type is inserted and asInserted is called on it.

    Declaration

    Objective-C

    @interface DITWriteTransactionResultInserted : DITWriteTransactionResult
  • Represents the write transaction result that will be the value of a DittoWriteTransactionResult when its type is removed and asRemoved is called on it.

    Declaration

    Objective-C

    @interface DITWriteTransactionResultRemoved : DITWriteTransactionResult
  • Represents the write transaction result that will be the value of a DittoWriteTransactionResult when its type is evicted and asEvicted is called on it.

    Declaration

    Objective-C

    @interface DITWriteTransactionResultEvicted : DITWriteTransactionResult
  • Represents the write transaction result that will be the value of a DittoWriteTransactionResult when its type is updated and asUpdated is called on it.

    Declaration

    Objective-C

    @interface DITWriteTransactionResultUpdated : DITWriteTransactionResult