See Cloud Kit Framework Reference
The Cloud Kit framework provides interfaces for moving data between your app and your iCloud containers. You use Cloud Kit to take your app’s existing data and store it in the cloud so that the user can access it on multiple devices. You can also store data in a public area where all users can access it.
- Go to General and sign your application.
- Go to Capabilities and add iCloud + CloudKit to your application.
- Make sure that you have an iCloud account active in your simulator. (it is easiest to use an iCloud account that is associated with the developer id you use to log into CloudKit dashboard)
Fetch all todos
loadTodos()
Delete all todos
deleteTodos()
Complete a Todo (and delete)
completeTodoAtIndexPath(indexPath)
Twitter - Follow me on Twitter.
MIT License - Fork, modify and use however you want.