Book description
Get Started Fast with iOS 7 Core Data App Development
Covers iOS 7 and Xcode 5
This 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
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents at a Glance
- Table of Contents
- Acknowledgments
- About the Author
- Preface
- Editor’s Note: We Want to Hear from You!
- 1. Your First Core Data Application
-
2. Managed Object Model Basics
- What Is a Managed Object Model?
- Adding a Managed Object Model
- Entities
- Attributes
- Integer 16/32/64
- Float and Double
- Attribute Settings
- Subclassing NSManagedObject
- Scalar Properties for Primitive Data Types
- Snippet Demo Method
- Creating a Managed Object
- Backend SQL Visibility
- Fetching Managed Objects
- Deleting Managed Objects
- Summary
- Exercises
- 3. Managed Object Model Migration
- 4. Managed Object Model Expansion
- 5. Table Views
- 6. Views
- 7. Picker Views
- 8. Preloading Data
- 9. Deep Copy
- 10. Performance
- 11. Background Processing
- 12. Search
- 13. Back Up and Restore with Dropbox
- 14. iCloud
- 15. Taming iCloud
- 16. Web Service Integration
- A. Preparing Grocery Dude for Chapter 1
- B. Preparing Grocery Cloud for Chapter 16
- Index
Product information
- Title: Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications
- Author(s):
- Release date: November 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133373585
You might also like
book
Core Data in Objective-C, 3rd Edition
Core Data is Apple's data storage framework: it's powerful, built-in, and can integrate with iCloud. Discover …
book
Pro iOS Persistence : Using Core Data
Pro iOS Persistence explains how to build apps in Objective-C and Swift that persist and use …
book
Core Data in Swift
Core Data is intricate, powerful, and necessary. Discover the powerful capabilities integrated into Core Data, and …
book
Learning Core Data for iOS with Swift: A Hands-On Guide to Building Core Data Applications, Second Edition
Get Started Fast with Core Data App Development Using iOS 9, Swift, and Xcode 7 Core …