O'Reilly logo

Developing for Apple TV using tvOS and Swift by Brad Lees, Stefan Kaczmarek, Gary Bennett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8

image

CloudKit

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required