Sams Teach Yourself Core Data for Mac and iOS in 24 Hours, 2nd Edition

In just 24 sessions of one hour or less, start using Core Data to build powerful data-driven apps for iOS devices and Mac OS X computers! Using this book’s straightforward, step-by-step approach, you’ll discover how Apple’s built-in data persistence framework can help you meet any data-related requirement, from casual to enterprise-class. Beginning with the absolute basics, you’ll learn how to create data models, build interfaces, interact with users, work with data sources and table views. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

Step-by-step instructions carefully walk you through the most common Core Data development tasks.
Quizzes and Exercises at the end of each chapter help you test your knowledge.
Notes present interesting information related to the discussion.
Tips offer advice or show you easier ways to perform tasks.
Cautions alert you to possible problems and give you advice on how to avoid them.

Jesse Feiler is a leading expert on Apple database development. Feiler has worked with databases since the 1980s, writing about technologies that have since evolved into Core Data. His database clients have included Federal Reserve Bank of New York, Young & Rubicam, and many small and nonprofit organizations. His recent books include Data-Driven iOS Apps for iPad and iPhone with FileMaker Pro, Bento by FileMaker, and FileMaker Go; and FileMaker 12 in Depth.

Learn how to…

  •  Start writing database apps fast, with Xcode 4’s powerful tools and templates
  • Master the Objective-C features and patterns Core Data relies upon
  • Understand Core Data’s goals, components, and behavior
  • Model data graphically with Xcode 4’s Data Model Editor
  • Leverage the full power of Managed Objects
  • Use controllers to integrate your data model with your code
  • Fetch, use, and store data from any source
  • Develop interfaces and features more quickly with Interface Builder
  • Add navigation and control features that integrate seamlessly with Core Data
  • Interact with users via popovers, segmented controls, action sheets, and tab bars
  • Create table views that users can edit
  • Let Xcode 4 and Core Data validate your data for you
  • Use predicates to precisely select the right data
  • Get ready for iCloud features to sync and move data among your iCloud-enabled devices

Table of Contents
Part I: Getting Started with Core Data
Hour 1. Introducing Xcode 4
Hour 2. Creating a Simple App
Hour 3. Understanding the Basic Code Structure

Part II: Using Core Data
Hour 4. Getting the Big Core Data Picture
Hour 5. Working with Data Models
Hour 6. Working with the Core Data Model Editor
Hour 7. What Managed Objects Can Do
Hour 8. Controllers. Integrating the Data Model with Your Code
Hour 9. Fetching Data
Hour 10. Working with Predicates and Sorting

Part III: Developing the Core Data Interface
Hour 11. Finding Your Way Around the Interface Builder Editor. The Graphics Story
Hour 12. Finding Your Way Around the Interface Builder Editor
Hour 13. Control-Dragging Your Way to Code
Hour 14. Working with Storyboards and Swapping Views

Part IV: Building the Core Data Code
Hour 15. Saving Data with a Navigation Interface
Hour 16. Using Split Views on iPad
Hour 17. Structuring Apps for Core Data, Documents, and Shoeboxes
Hour 18. Validating Data

Part V: Managing Data and Interfaces
Hour 19. Using UITableView on iOS
Hour 20. Using NSTableView on Mac OS
Hour 21. Rearranging Table Rows on iOS
Hour 22. Managing Validation
Hour 23. Interacting with Users
Hour 24. Migrating Data Models

Appendix A. What’s Old in Core Data, Cocoa, Xcode, and Objective-C

Book Details

  • Paperback: 480 pages
  • Publisher: Sams; 2nd Edition (June 2012)
  • Language: English
  • ISBN-10: 0672336197
  • ISBN-13: 978-0672336195
Download [122.7 MiB]

You may also like...

Leave a Reply