Creating a Multiview Application
Up until this point, you’ve written applications using a single view controller. While single view apps can often do what you need them to, the real power of the iOS platform emerges when you switch out views based on user input. Multiview applications come in several different flavors, but the underlying mechanism functions the same, regardless of how the app appears on the screen. In this chapter, you’ll focus on the structure of multiview applications and the basics of swapping content views by building your own multiview app from scratch. By writing your own custom controller class that switches between two different content views, you’ll establish a strong foundation for taking advantage of the various multiview controllers provided by Apple.