CloudKit is a framework for storing and retrieving data on Apple’s iCloud servers. Queries can be run against structured records on the server, and assets provide for large data storage.
The public database provides shared storage for web-style apps, and the private database provides storage for user-specific data.
CloudKit also provides a user identity so that an iCloud account can be used for sign-in for your app.
- Stackoverflow.com Wiki