Game Development Reference
In-Depth Information
How it works…
The iCloud technology provides an easy and secure way of creating an app that stores a
structured app and user data in a server called iCloud. Using the CloudKit framework, in-
stances of an iCloud-enabled app, which is launched by different users on different devices,
can access the assets stored in the app's database. After enabling iCloud for any app, we
can make model objects for our app, which persist and are shared between multiple apps
running on a large range of devices. These data or model objects are stored as records in
the database and can be accessed by the authorized users.
iCloud is a free service provided by Apple that lets users access their personal data on all
their devices by their Apple ID. It does all this by combining network-based storage dedic-
ated APIs with full support of OS. Apple encourages building iCloud-enabled apps by
providing server infrastructure, backups, and user accounts.
The following is a pictorial representation of iCloud's core idea, which addresses the prob-
lem of synchronization between multiple devices. A user using an iCloud app need not
think about syncing his/her devices. When the user adopts iCloud storage, as depicted in
the following diagram, all the changes appear automatically on all the devices that are at-
tached to that iCloud account.
Search WWH ::




Custom Search