Building iOS Apps with CloudKit
2h 6mIntermediate2019-04-24
Authors

Doron Katz
Published Author, Technical Program Manager, iOS Engineer
Course details
CloudKit—the back-end solution from Apple—is easy to use and cost effective compared to its competitors. Leveraging CloudKit enables developers to securely store and sync data across multiple iOS apps and devices. This course covers all the concepts involved in creating a CloudKit-powered app. Instructor Doron Katz shows how to use the dashboard and work with storage objects such as containers, databases, zones, and records. Using a hands-on project, Doron shows how to design a database schema and read and write to the cloud, as well as create entity relationships and implement subscriptions to be notified when data changes. Plus, learn about CloudKit security, testing, and debugging, and advanced concepts such as offline caching and web integration.
Learning objectives
Enabling CloudKit
CloudKit architectures
Containers and databases
Designing a database schema
Creating, updating, and deleting data
Adding relationships in CloudKit
Subscribing to data changes
Managing deployments
Testing and debugging
Error handling and offline caching
Learning objectives
Enabling CloudKit
CloudKit architectures
Containers and databases
Designing a database schema
Creating, updating, and deleting data
Adding relationships in CloudKit
Subscribing to data changes
Managing deployments
Testing and debugging
Error handling and offline caching
Skills covered
iCloudiOS DevelopmentMobile DevelopmentAppleProject
Concepts
0. Introduction
- 01 - Supercharge your iOS apps with CloudKit
- 02 - What you should know
1. Introduction to iCloud and CloudKit
- 03 - iCloud overview
- 04 - The rise of MBaaS
- 05 - CloudKit overview
- 06 - Why CloudKit
2. Get Started with CloudKit
- 07 - Enabling CloudKit
- 08 - CloudKit dashboard
- 09 - Development and production environments
- 10 - Get to know the project
3. CloudKit Fundamentals
- 11 - CloudKit architecture - Containers and databases
- 12 - CloudKit architecture - Records and zones
- 13 - Containers
- 14 - Public, private, and shared databases
- 15 - Record zones, record types, and records
- 16 - Challenge - Custom containers
- 17 - Solution - Custom containers
4. Work with Databases
- 18 - Design a database schema
- 19 - Query and retrieval dashboard
- 20 - Query and retrieval code - Note object
- 21 - Query and retrieval code - MasterViewController
- 22 - Create and update data
- 23 - Delete data
- 24 - Challenge - Predicates
- 25 - Solution - Predicates
5. Work with Relationships
- 26 - Relationships in CloudKit overview
- 27 - Adding a relationship in CloudKit - Fetching
- 28 - Adding a relationship in CloudKit - Adding
- 29 - Introduction to Subscriptions
- 30 - Subscribing to data changes
- 31 - Enabling push notifications
6. Manage CloudKit
- 32 - Overview of CloudKit Security
- 33 - Adding CloudKit Security privileges
- 34 - Manage deployment across development and production
- 35 - Test and debug CloudKit
7. Advanced CloudKit
- 36 - Explore CloudKit web services
- 37 - Best practices - Data modeling
- 38 - Best practices - Error handling and offline caching
Conclusion
- 39 - Next steps