November 2013
Intermediate to advanced
576 pages
19h 3m
English
When an app’s functionality works around user-centric, document-style data, subclassing UIDocument is appropriate. UIDocument is designed to automate many of the typical functions needed when interacting with documents. For example, UIDocument supports automatic saving, and background loading and saving of documents to avoid affecting the main queue and slowing down the user interface. In addition, UIDocument abstracts away the loading and saving logic into simple calls, so the developer just needs to write simple logic to translate the document data to and from NSData. Most important for this chapter, UIDocument automates interactions with iCloud as well.
Read now
Unlock full access