MCUpload
public class MCUpload<R: MCMirrorAbstraction>: Operation, MCDatabaseModifier, MCCloudErrorHandler
This wrapper class for CKModifyRecordsOperation saves records for the injected recordables in 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 CKModifyRecordsOperation saves records for the injected recordables in the specified database.
Declaration
Swift
public init(_ recs: [R.type]? = nil, from rec: R, to db: MCDatabase)Parameters
recsAn array of the MCRecordables associated with the records that need to be uploaded to the specified database.
recThe MCReceiver from which records are being derived and uploaded.
dbAn enumeration of the CKDatabase records are to be uploaded to.
MCUpload Class Reference