Unit 03 of 03
Persistence
Saving small settings, storing secret values in the keychain, directory types and backup rules, the relational local database, object persistence frameworks, cloud sync across devices, and the registration and permission flow of push notifications.
Published Updated
Lessons
- 01 Simple Preference Storage A measurement of how the order in which two screens write to the same key, the repetition of a launch counter, and a default value change the outcome when a small value is stored persistently. 15 min read
- 02 The Keychain A measurement of how adding the same item a second time changes the status code where secret values are stored, and how an update-or-add operation is order-sensitive. 15 min read
- 03 The File System A measurement of the repetition and order sensitivity of appending, full replacement, and directory creation where larger data is written to files. 15 min read
- 04 Local Databases A measurement of how an upsert with a primary key is robust, how inserting with an auto-increment key is sensitive, and how the read order changes the result. 15 min read
- 05 Object Persistence Frameworks A measurement of how creating and saving objects in a context is repeat-sensitive, how saving with a unique constraint is order-sensitive, and how the constraint changes the class. 15 min read
- 06 Cloud Sync A measurement of how the arrival order of values decides the result when two devices write the same record, how a per-field set union is robust, and how the server rule changes the class. 15 min read
- 07 Push Notifications A measurement of how raising the badge locally on a notification from the server is repeat-sensitive and how an absolute badge value in the payload is order-sensitive, and the wrap-up table of the nineteen lessons of the course. 13 min read