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.
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
Xcode includes essential support for Core Data. In this chapter, you’ll see how to ...