MCDelete
public class MCDelete<R: MCMirrorAbstraction>: Operation, MCDatabaseModifier, MCCloudErrorHandler
This wrapper class for CKModifyRecordsOperations deletes records associated with the recordables inserted, from the specified database.
-
If not cancelled, this method override will decorate and launch a CKModifyRecordsOperation in the specifified database.
Declaration
Swift
public override func main()
-
This wrapper class for CKModifyRecordsOperations deletes records associated with the recordables inserted, from the specified database.
Declaration
Swift
public init(_ array: [R.type]? = nil, of rec: R, from db: MCDatabase)Parameters
arrayThe recordables associated with the records that need to be removed from the specified database.
recThe MCReceiver associated with MCDelete, that was itself storing the recordables to be deleted from the specified database.
dbThe DatabaseType enumerating the CKDatabase containing the records that need to be deleted.
MCDelete Class Reference