Join Todd Perkins for an in-depth discussion in this video Editing and saving notes, part of Building a Note-Taking App for iOS 7.
- View Offline
…Now let's run the application and look at where we're at at this point.…When I click the plus button, you'll see that note entry.…And remember that's the key that we're using.…So we want the value to be displayed there, of course.…And when I click on that I'll see the value at the top left showing that…it's inside of that text field that we…created and not the label that it started with.…What we want to do is display the appropriate…information for the note that was clicked on.…So, when I click on the third or fourth note,…I want to see the appropriate note data for that object.…
So, in order to do that, we're going to…need to set the current key in our data model.…So, I'm going to click the Stop button and scroll down.…And I'm in MasterViewControler.n and I'm scrolling down…all the way to the bottom and on…line 112 on my code you'll see a…line that says NSDate objects and then _objects indexPath.row.…Now, this comes from the way that the file was setup, when we created the template.…We're not using a date, we're using a string representation…
These courses take you through building a complete mobile app from scratch; this installment uses the iOS SDK and Xcode to get the job done. Author Todd Perkins shows you how to create an Xcode project, lay out apps visually, connect UI elements to code, and save data to persistent storage. Start here, and compare and contrast your results with the other courses to learn about the differences and similarities of the platforms.
- Previewing the note-taking app's features
- Creating the Xcode project
- Using local data storage
- Creating a data class
- Saving data to a file
- Understanding screens and storyboards
- Creating and editing notes
- Controlling note display in a table view
- Deleting notes