Re: Swift CloudKit perRecordProgressBlock
Re: Swift CloudKit perRecordProgressBlock
- Subject: Re: Swift CloudKit perRecordProgressBlock
- From: Marco S Hyman <email@hidden>
- Date: Wed, 04 Mar 2015 16:20:27 -0800
> "Missing argument for parameter #2 in call"
and
> myCKFetchRecordsOperation.perRecordProgressBlock { _, cloudKit_sProgress in
Is a property. You don't invoke its value, you set its value to the
desired block.
myCKFetchRecordsOperation.perRecordProgressBlock = {
(_: CKRecordID!, cloudKit_sProgress: Double) -> Void in
print("At perRecordProgressBlock \(counter++) \(cloudKit_sProgress)")
}
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden