• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Swift CloudKit perRecordProgressBlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Swift CloudKit perRecordProgressBlock
      • From: Fritz Anderson <email@hidden>
References: 
 >Swift CloudKit perRecordProgressBlock (From: Mutlu Qwerty <email@hidden>)

  • Prev by Date: Swift CloudKit perRecordProgressBlock
  • Next by Date: Swift Autocomplete and closures
  • Previous by thread: Swift CloudKit perRecordProgressBlock
  • Next by thread: Re: Swift CloudKit perRecordProgressBlock
  • Index(es):
    • Date
    • Thread