Join Todd Perkins for an in-depth discussion in this video Manually transitioning between storyboards, part of Building a Note-Taking App for iOS 9 with Swift.
- Right now, the app only transitions to the detail view…when a user taps on an existing note.…But what if you wanted to initiate that manually…when the user creates a new note?…The logic behind that is you can assume…that if somebody taps to create a new note…that they actually want to start typing out…that particular note.…So let's look at how that works.…I'll go to MasterViewController.swift…and then I'm going to scroll down into insertNewObject.…This is the method which starts in my code on line 44,…which controls the creation of new notes…when the plus button is tapped.…
If we want to manually transition,…we need to call the method PerformSegueWithIdentifier.…Before we do that, we want to make sure…we set the currentIndex.…So I'll set the currentIndex = 0.…The reason why we set it to zero is because on line 45…every time we create a note…we insert it at the top…of our table view, which is Index zero.…So in the event we tap to create a new note…we want to make sure the currentIndex is set to zero.…On the next line I'm going to call…
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.