Tutorial by Examples: cloudkit

What you need is to get an entitlements file so the app can access your iCloud and write records using CloudKit. Follow the steps to grant access to iCloud from your app: 1- Select the project in the Project Navigator, and then open the General tab. 2- In the Identity section, set your developer ...
All the records create using CloudKit-related code can be previewed, edited and even removed in CloudKit Dashboard. To access CloudKit Dashboard, go here. There are several parts in the dashboard: Record Types (which will be discussed later) Security Roles (which is where you can set databases ...
To save date to CloudKit, we must make: A CKRecordID (the key of your unique record) A CKRecord (which includes data) Making a record key To ensure that every new record identifier is unique, we use the current timestamp, which is unique. We get the timestamp using NSDate's method timeInter...

Page 1 of 1