Get Started Fast with iOS 7 Core Data App Development
Covers iOS 7 and Xcode 5This is the first Core Data book to fully reflect Apple’s latest platform innovations, including its dramatic recent improvements to iCloud support. Hands-on from start to finish, it teaches you step-by-step as you create a modern data-driven iOS app using Storyboards, ARC, iOS 7, and Xcode 5.
Tim Roadley introduces new patterns and best practices designed to overcome the frustrations of Core Data development. One step at a time, you’ll build and extend your skills--even mastering advanced techniques such as complex model migration, deep copy, background processing, and integration with Dropbox, StackMob, and iCloud.
Downloadable versions of this book’s main project are provided with each chapter, so you can see exactly what your app project should look like--and get cookbook-style code for your own projects. Chapter exercises help you explore even further, whether you’re a self-learner or a student in an iOS development course.
If you’re an experienced iOS developer, this guide brings together all the skills, tools, code, and patterns you need to add powerful data management capabilities to any app--quickly, easily, and painlessly.
Coverage includes the following:
- Understanding Core Data
- Adding Core Data to an existing project
- Designing, upgrading, and migrating data models (automatically and manually with progress indication)
- Populating views with data, including table-views and picker-views
- Preloading a “default data” persistent store from XML
- Deep-copying from one persistent store to another
- Performance tuning with Instruments, using large photos as the example
- Background processing, using thumbnail generation as the example
- Efficient search
- Seamlessly backing up and restoring with Dropbox
- Stable integration with iCloud--with full support for multiple accounts, seeding, and de-duplication
- Web service integration with StackMob
Learning Core Data for iOS teaches you all you need to know to build database-enabled iOS apps with Core Data. This is the first Core Data book to fully reflect Apple's latest platform innovations, especially the dramatic improvements to iCloud support in the next version of iOS. Hands-on from start to finish, this tutorial teaches you step-by-step as you create a modern iOS app using ARC, iOS and Xcode 4 with Storyboards. You'll walk through:
- Discovering how Core Data simplifies the incorporation of database functionality
- Adding Core Data to an existing project
- Configuring and upgrading data models
- Using the MOC and storyboarding
- Working with the Table Views and Views design patterns
- Preloading your data
- Instrumenting your apps and overcoming performance pitfalls
- Seamlessly backing up and restoring data
- Generating PDFs, emails, and more
One step at a time, you'll extend your skills — even mastering advanced techniques such as iCloud Dropbox integration, backup/restore, Table Views change notification, and web service integration. A downloadable version of the main project will be available at the end of each chapter, so you can see exactly what your app project should look like — and get cookbook-style code for your own future projects, too. Exercises at the end of each chapter offer opportunities to explore further — and making the book as useful for iOS app development courses as it is for self-learners.