Join Todd Perkins for an in-depth discussion in this video Adding notes, part of iOS App Development: Apple iCloud API (2013).
Now we are going to look at adding the notes to our app.…This is where you're going to see the Master Detail template app really help a…lot to creating notes taking app.…So you go to MasterViewController.m, and in the Import statement area we are going to…import both the Constants file and the Data Class.…So Constants.h and Data.h. If you scroll down a little bit you will see an…NSMutableArray declared called objects, and objects is going to hold all of the…data that's going to appear in the UITableView.…
So by manipulating that objects array we can control what appears in the table in the app.…So let's do that by scrolling down below insertNewObject. We're going to declare…our own method called makeObjects. And makeObjects is simply going to instantiate…objects to an NSMutableArray, so we will call it NSMutabelArray, arrayWithArray, and…the array is going to come from the keys in our data class.…
So first we will need to access that dictionary.…So Data, getAllNotes, and then allKeys.…So that's going to return an NSArray, which we're wrapping within an NSMutableArray.…
- 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?
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.