Classes

The following classes are available globally.

  • This wrapper class for CKModifyRecordsOperation saves records for the injected recordables in the specified database.

    See more

    Declaration

    Swift

    public class MCUpload<R: MCMirrorAbstraction>: Operation, MCDatabaseModifier, MCCloudErrorHandler
  • This public class handles Magic Cloud’s CKQuerySubscriptions, allowing for receivers to be listen for changes while handling any errors that might arise.

    See more

    Declaration

    Swift

    public class MCSubscriber: SubscriptionErrorHandler
  • This struct contains a static var (singleton) which accesses USER’s iCloud CKRecordID.

    See more

    Declaration

    Swift

    public class MCUserRecord: UserRecordRetriever, MCAccountAuthenticationVerifier
  • This open (can be sub-classed) class serves as the primary concrete adopter of MCReceiverAbstraction. Gives access to an array of Recordable, and keeps that array matching database records.

    See more

    Declaration

    Swift

    open class MCMirror<T: MCRecordable>: MCMirrorAbstraction, ReachabilityChanger, ConnectivityChangeListener
  • This operation class can be used to set delays as a dependency in operation chains.

    See more

    Declaration

    Swift

    public class Pause: Operation
  • Downloads records from specified database, converts them back to recordables and then loads them into associated receiver. Destination is the receiver’s ‘recordables’ property, an array of receiver’s associated type, but array is NOT emptied or otherwise prepared before appending results.

    See more

    Declaration

    Swift

    public class MCDownload<R: MCMirrorAbstraction>: Operation, MCDatabaseQuerier, MCCloudErrorHandler
  • This wrapper class for CKModifyRecordsOperations deletes records associated with the recordables inserted, from the specified database.

    See more

    Declaration

    Swift

    public class MCDelete<R: MCMirrorAbstraction>: Operation, MCDatabaseModifier, MCCloudErrorHandler