Skip to main content

Multiview Applications

  • Chapter
  • 1292 Accesses

Abstract

Up until this point, we’ve written applications with a single view controller. While there certainly is a lot you can do with a single view, the real power of the iOS platform emerges when you can switch out views based on user input. Multiview applications come in several different flavors, but the underlying mechanism is the same, regardless of how the app may appear on the screen. In this chapter, we’re going to focus on the structure of multiview applications and the basics of swapping content views by building our own multiview application from scratch. We will write our own custom controller class that switches between two different content views, establishing a strong foundation for taking advantage of the various multiview controllers that Apple provides.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 David Mark, Kim Topley, Jack Nutting, Frederik Olsson, and Jeff LaMarche

About this chapter

Cite this chapter

Mark, D., Topley, K., Nutting, J., Olsson, F., LaMarche, J. (2015). Multiview Applications. In: Beginning iPhone Development with Swift 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1754-2_6

Download citation

Publish with us

Policies and ethics