Chapter 7 discussed storing preferences both locally on the AppleTV and in the cloud using NSUserDefaults and NSUbiquitousKeyValueStore. This method works great for storing small pieces of information, but what happens when the app needs to store a significant amount of information? What happens when an app needs to search or sort this type of information? This is where CloudKit comes in. CloudKit is a framework provided by Apple that allows developers to easily sync databases between different devices.
CloudKit is currently available only for iOS , Mac OS X, and tvOS devices. Apple has provided CloudKit JS. CloudKit JS looks ...