Chapter    20

Working with Core Data

Core Data is a framework that allows you to maintain an ordered data store for either in-memory or permanent storage. It is akin to a database, but it’s not a database in a traditional sense, it’s not a relational database management system (RDBMS). Core Data can use a traditional database as a lower layer for external storage; SQLite is one of the storage mechanisms it supports.

Core Data is an object graph and persistence store framework that provides a high-level data model via entities and the relationships among those entities. It also provides fetch requests to retrieve data that meets certain criteria. Developers use Xcode’s entity editor to define the object models and relationships.

Core Data is ...

Get Learn Swift on the Mac: For OS X and iOS 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.