Storing Data: SQLite and Other Options
Chapter 2 explains the classes that comprise the Core Data framework and the interdependencies and precision with which they work together. The following chapters explain and demonstrate the flexibility of the framework to get the desired results, but the framework flexes only so far. The framework imposes a structure, order, and rigidity for putting data into and taking data out of a persistent store. You must work within that order and structure, doing things the Core Data way, to store and retrieve data reliably. Core Data’s shackles fall off, however, when defining what the persistent store looks like or how it works. Though people tend to think that data “belongs” in a database and Apple both provides and defaults to a SQLite database for Core Data’s persistent store, you have other options; your data can rest in whatever form you want. For most cases, you’ll probably be happy with the default SQLite database, but this chapter discusses other options and where they may be useful.
KeywordsReference Object Core Data Uniform Color Store Type Persistent Store
Unable to display preview. Download preview PDF.