We've now spent three chapters working on building up the functionality for our note taking/journaling application, Snippets
. However, while we've demonstrated a good amount of the core features such as content creation, 3D touch support, location tracking, and social sharing, we still don't have an application that a user can carry around with them and use.
We are lacking a key feature: persistence.
When a user closes our app or turns off their phone, they lose all of the snippets they've created. To me that sounds like a pretty terrible journaling application. In this chapter we're going to finally give our app's model the attention it deserves!
To accomplish our goal of persistent app data across multiple launches, we're going to be using the Core Data framework and its associated data containers. In this chapter, we're going to cover:
What is Core Data?
The data model components (entities, attributes, and relationships)
Using the data model editor
Adding Core...