Learning Core Data for iOS with Swift, 2nd Edition Front Cover

Learning Core Data for iOS with Swift, 2nd Edition

Description

Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications

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.

Coverage includes

  • 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.

informit.com/learningseries
timroadley.com

Table of Contents

Chapter 1. Your First Core Data Application
Chapter 2. Managed Object Model Basics
Chapter 3. Managed Object Model Migration
Chapter 4. Managed Object Model Expansion
Chapter 5. Table Views
Chapter 6. Views
Chapter 7. Picker Views
Chapter 8. Preloading Data
Chapter 9. Deep Copy
Chapter 10. Performance
Chapter 11. Background Processing
Chapter 12. Search
Chapter 13. iCloud
Chapter 14. Taming iCloud
Chapter 15. CloudKit Sync: Uploading Objects
Chapter 16. CloudKit Sync: Downloading Changes and Handling Deletions
Appendix A. Preparing the Groceries Application
Appendix B. Finalizing the Groceries Application

To access the link, solve the captcha.