This repo simply contains sample code for using the CloudKit framework.
####Languages Objective-C and Swift
####Sample Code
How to CREATE a new record in a Container's Public Database using Objective-C
How to CREATE a new record in a Container's Public Database using Swift
How to FETCH a record in a Container's Public Database with a known Record ID using Objective-C
How to FETCH a record in a Container's Public Database with a known Record ID using Swift
How to UPDATE a record in a Container's Public Database using Objective-C
How to UPDATE a record in a Container's Public Database using Swift
How to QUERY a record from a Container's Public Database with NSPredicate using Objective-C
How to QUERY a record from a Container's Public Database with NSPredicate using Swift
####Setting Up Your Project
In Xcode, simply turn on the iCloud capability, check on CloudKit, and start writing code :)
See screenshot below ...
####Launching the CloudKit Dashboard
In Xcode, under the iCloud capability section, simply click on the CloudKit Dashboard button. This will open the Dashboard in your web browser. Alternatively, just go to https://icloud.developer.apple.com/dashboard and authenticate with your Developer Program credentials.
All of your CloudKit containers between your different Apps are centrally managed here. Use the top left drop-down list to switch between different App Containers.
See screenshot below ...
####Connect
- Twitter: @clintcabanero
- GitHub: ccabanero