Advertisement

Storing Data: SQLite and Other Options

  • Michael Privat
  • Robert Warner

Abstract

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.

Keywords

Reference Object Core Data Uniform Color Store Type Persistent Store 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Michael Privat and Robert Warner 2011

Authors and Affiliations

  • Michael Privat
  • Robert Warner

There are no affiliations available

Personalised recommendations