Navigating Between View Controllers
Now that we have our root view controller managed by a navigation controller, we’re ready to start navigating. Where shall we go? Since our root view shows a table of tweets, let’s allow the user to select one of those tweets to inspect in detail. To do this, we’ll add a new view controller scene to the storyboard, indicate how we navigate to it, and write a custom UIViewController subclass to provide the behavior for the new scene.
We can begin in the storyboard. From the Object library, choose the generic View Controller icon, which looks like the rectangular UIView icon inside a yellow circle, as seen in ...
Get iOS 8 SDK Development, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.