Join Todd Perkins for an in-depth discussion in this video Handling edits, part of Building a Note-Taking App for iOS 9 with Swift.
- Another issue that shows up…when we look at our split view…is that when I edit a note.…So, let's say that I make a change to this note…and let's say I want to delete them.…So, I'll click the Edit button,…just like I normally do…and tap the minus button.…And just note the note that I'm deleting.…It ends with "Hi."…I'll hit delete and I can, actually,…make changes to this note.…And that edits another note.…
I didn't select this note for editing,…nor should I be able to select something…while I'm editing.…Further, I can delete this note…and then hit done.…And now, if I type text on my keyboard,…it modifies a different note.…So what we need to do is,…disable editing when you hit the Edit button.…So we're hitting the Edit button to delete rows…in our table.…We want to, then, disable editing in our text view…on the right side and then re-enable it…when the user taps on a different note.…
So let's go over to Xcode.…And the place to write this code…is inside…of set editing and table view…did end editing row index path.…So if editing, inside of set editing.…
Building a Note-Taking App for Android and Building a Note-Taking App for Windows Phone 8 and Windows Store use the same assets. Compare and contrast the steps and discover the similarities and differences between the three platforms.
Skill Level Intermediate
Building a Note-Taking App for Android (2013)with David Gassner3h 7m Intermediate
1. Project Overview
2. Understanding iOS Specifics
3. Getting Started
4. Creating the Basic App
5. Supporting a Split View
- 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.