June 2016
Intermediate to advanced
214 pages
5h 40m
English
So far, we’ve discussed sharing data between iOS devices and linking our OS X application to iCloud. However, we haven’t discussed how to share data between OS X and iOS. Fortunately, there’s virtually no difference between OS X and iOS iCloud integration, though there are a couple of rules that we need to follow.
The NSPersistentStoreUbiquitousContentNameKey is the unique value that iCloud uses to determine what data we’re accessing. If two devices use the same value and are signed by the same developer, they’ll be able to access the same data. If one or more devices and one or more OS X machines use the same key, they’ll share the same data. Throughout these examples, ...
Read now
Unlock full access