Chapter 19
Doc, You Meant Storage
If you want your iOS app to store more than a few tidbits of information, you need documents. iOS provides a powerful document framework that brings data storage into the 21st century. The iOS document (UIDocument) class takes care of, or lets you easily implement, modern features like auto-saving, versioning, and cloud storage. In the process, you’ll finally learn how to archive objects. In this chapter you will:
- Create a custom document object
- Use a document object as your app’s data model
- Learn how to archive and unarchive your data model objects
- Design a document that can be loaded or saved incrementally
- Handle asynchronous document loading
- Manage document changes and auto-saving
You’ll find numerous ...
Get Learn iOS 7 App Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.