Join Todd Perkins for an in-depth discussion in this video Understanding the UIDocument class, part of iOS App Development: Apple iCloud API (2013).
We've already looked at how to integrate with iCloud using key value pairs.…Another way to integrate with iCloud is by using individual documents.…You can use those documents through the UI document class.…The app I'm working in here is the same as the basic note taking app, except for…I have the MasterView method and MasterViewController that returns the instance.…And again, that instance is set in viewDidLoad.…We did write this code in previous a chapter, so you may already have it there.…
If you don't have access to the Exercise Files, just back up what you did before…working with the key value pairs, and just delete in your copy the key value pair…code from the data class and from AppDelegate.m. In order to work with the…documents in the cloud, you're going to have to create a subclass of UI…document, because the UI document class is an abstract class.…So let's create that subclass now by pressing Command+N on the keyboard.…I'll choose to create a new Objective-C class that I'll call CloudDocument.…
- Understanding the class structure of an app
- Building the data model and constants
- Making your app compatible with the Apple Developer portal
- Connecting to iCloud
- Understanding the UIDocument class
- Handling document metadata class
- Opening, closing, saving, and deleting documents from iCloud
Skill Level Intermediate
iOS 6 App Development New Featureswith Simon Allardice2h 29m Intermediate
1. Building the Note-Taking App
2. Preparing the App to Use iCloud
3. Working with iCloud Key-Value Pairs
4. Working with iCloud Documents
Next steps2m 41s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.