Working with Multiple View Controllers

With our switch to a table view as the main interface for our Twitter app, we’re starting to resemble and work like the many other Twitter apps on iOS. However, our functionality is limited: all we can do is load and display the tweets. In fact, we’ve actually lost the “Send Tweet” functionality, because the full screen table view doesn’t afford a good place for its button. So what are we going to do?

Usually, iOS tables do something when the user clicks on a table row. And most of the time, that something is to show the details of the thing that was clicked on, with a new interface appropriate to the detail view.

What’s happening is that iOS is presenting a different view controller, one that is designed ...

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.