Get Started Fast with Core Data App Development Using iOS 9, Swift, and Xcode 7
Core Data is a remarkably mature, stable, and fast platform for data access, and Swift is a world-class language for applying it. Now, there’s a complete guide to using Core Data and Swift together in production apps. Tim Roadley shows you how to gain the benefits of a relational database without writing SQL queries, so you can get more done faster, with less coding.
This book fully reflects Apple’s latest iOS 9 platform innovations and teaches Core Data entirely with Swift examples. It guides you step-by-step through creating a modern data-driven iOS app that fully integrates iCloud via CloudKit for public data sharing.
Roadley introduces up-to-date patterns and best practices designed to overcome the frustrations of Core Data development. Each chapter builds on the last, introducing new topics in the order you’ll implement them and extending your skills simply and intuitively.
Each chapter offers downloadable project code, along with exercises to help you explore even further, either as a self-learner or a student in an iOS development course. Roadley even shows how to build helper classes that simplify reuse of his example code.
If you’re an experienced iOS developer, here are all the Swift skills and resources you need to integrate data into any app—quickly, easily, and painlessly.
Understanding what Core Data is and what it can (and can’t) do
Configuring basic managed object models, and choosing data types
Expanding data models without introducing errors
Using relationships and entity inheritance to unlock more power
Delivering memory-efficient, high performance table views
Enabling users to easily modify managed object attributes
Generating persistent stores of preloaded default data
Using Deep Copy to copy objects and relationships between persistent stores
Optimizing performance by eliminating bottlenecks and offloading intensive tasks to the background
Implementing efficient search
Integrating diverse iCloud accounts and preferences
Mastering advanced iCloud integration, including entity-level seeding and unique object de-dupe
Leveraging public CloudKit databases to sync data across users with different iCloud accounts
About the Website
All code samples are available for download at timroadley.com.