Classes
The following classes are available globally.
-
This mock class was built for testing MCRecordable.
See moreDeclaration
Swift
public class MockRecordable: MCRecordable
-
This wrapper class for CKModifyRecordsOperation saves records for the injected recordables in the specified database.
See moreDeclaration
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 moreDeclaration
Swift
public class MCSubscriber: SubscriptionErrorHandler
-
This struct contains a static var (singleton) which accesses USER’s iCloud CKRecordID.
See moreDeclaration
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 moreDeclaration
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 moreDeclaration
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 moreDeclaration
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 moreDeclaration
Swift
public class MCDelete<R: MCMirrorAbstraction>: Operation, MCDatabaseModifier, MCCloudErrorHandler