Creating a Multiview Application

  • Molly Maskrey
  • Kim Topley
  • David Mark
  • Fredrik Olsson
  • Jeff Lamarche
Chapter

Abstract

Up until this point, we’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, we’ll focus on the structure of multiview applications and the basics of swapping content views by building our own multiview app from scratch. Writing our own custom controller class that switches between two different content views, we’ll establishing a strong foundation for taking advantage of the various multiview controllers provided by Apple.

Keywords

Single View Controller Class Content View View Controller Interface Builder 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Molly Maskrey, Kim Topley, David Mark, Fredrik Olsson and Jeff Lamarche 2016

Authors and Affiliations

  • Molly Maskrey
    • 1
  • Kim Topley
    • 2
  • David Mark
    • 3
  • Fredrik Olsson
    • 4
  • Jeff Lamarche
    • 5
  1. 1.ParkerUSA
  2. 2.Apt 10GNew YorkUSA
  3. 3.ArlingtonUSA
  4. 4.StockholmSweden
  5. 5.New HartfordUSA

Personalised recommendations