Database Reference
In-Depth Information
Chapter 4
Basic Setup of iCloud and
Key-Value Storage
In this chapter you will learn the fundamentals of adding iCloud to your application. We discuss
the most basic type of storage, the Key-Value Store, but first we walk through provisioning
and entitlements.
App IDs, Provisioning, and Entitlements
An App ID is the identifier used for your app. This ID is solely unique to your app and cannot be used
by anyone else.
By default, an iOS device can run apps from the app store and apps that are included with the OS.
Provisioning is the process that enables your device to run your app. Provisioning also grants your
app iCloud support.
Entitlements are a simple version of access control for your app. When your app is compiled and
run, the entitlement is included in the code signature. When your app attempts to access the iCloud
service, entitlement allows or disallows access based on the code signature.
Now let's discuss these in more detail before we set them up.
App IDs
As mentioned previously, your App ID is a unique identifier. Once this ID is created, it cannot be
changed. There are two parts of an App ID:
App ID Prefix : This is created by Apple when you create your developer account.
The Apple ID prefix never changes.
App ID Suffix : It is recommended that this be a reverse-domain style string.
An example would be com.domainname.appname.
23
 
Search WWH ::




Custom Search