Chapter 15

  1. How does the CloudKit server notify apps about updates?

b) Silent push notifications.

  1. Which object do you send along with a fetch request to CloudKit so you only receive new changes?

a) A change token.

  1. How does your code know whether a certain CKRecord is a movie, family member, or something else?

c) Through recordType.

  1. What kind of data do you have to store alongside your objects in Core Data to be able to properly sync local data with CloudKit?.

b) The encoded CloudKit metadata.

  1. What's a good place to store server-change tokens?

c) UserDefaults.

  1. Why is it smart to import CloudKit data on a background managed object context?

a) Because you don't know how long the import will take and you don't want to block the main thread.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.199.243