Progressive Core Data Migrations #core data #migration #persistence There are very few certainties in app development, but one is that once your app is released, it will change in unexpected ways. Meeting those changes can be painful. Here, we look at how to ease the pain of Core Data migrations. 04 Feb 2019 • 26 min read
Can Unit Testing and Core Data become BFFs? #core data #testing #persistence Core Data and Unit Testing haven't always been the best of friends ⚔️. Core Data is all about persisting. Unit testing is all about forgetting. Here, we look at how they can work together with the help of UIKit to ensure that we gain the confidence we need to ship an app. 02 Apr 2018 • 16 min read
Step-by-step Core Data Migration #core data #migration #persistence People really care about their possessions. They hate when change breaks those possessions 😡. This is as true of digital possessions as physical possessions. Your data model will change, but it doesn't need to break anything. Here, we look at how to migrate a Core Data model step-by-step. 30 Nov 2017 • 21 min read
Saving and retrieving data from NSUserDefaults #userdefaults #persistence NSUserDefaults is a great way to save small amounts of data that you want to persistent across application "sessions" (especially where a database would be overkill). Saving data to NSUserDefaults: [[NSUserDefaults standardUserDefaults] setBool:YES forKey:KEY_TO_IDENTIFY_INFORMATIO 26 Sep 2011 • 1 min read
Core Data terms #core data #persistence I'm often asked to explain Core Data to the new joiners. I thought I'd share what I tell them about the components that make up Core Data: 1. Persistent store - is where Core Data stores its data, more often in a form of a SQLLite database but can be Atomic (binary store) or In-Memor 11 Mar 2011 • 1 min read