O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours

Book Description

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, and even get started with iCloud. 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.

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

  • 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 Pro in Depth.

    Category: Mac Programming

    Covers: Core Data

    User Level: Beginning-to-Intermediate

    Register your book at informit.com/title/9780672335778 for access to all code examples from the book, as well as updates, and corrections as they become available.