9. An iOS Application: Model

It’s time to put some flesh on Passer Rating’s data design. The Core Data framework for iOS and OS X provides a powerful system for managing object-relational graphs and persisting them in an SQLite database.

Note

SQLite (you will make it a gentler world if you tolerate both “ess-cue-light” and “see-kwel-light”) is the full-featured SQL database library and command-line tool at the foundation of Core Data. The Core Data API is agnostic about its bottom layer (on OS X, there are two alternatives) and affords no direct access to the underlying database. The library is a standard component of both iOS and OS X. See http://sqlite.org.

Xcode includes essential support for Core Data. In this chapter, you’ll see how to ...

Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.