Skip to main content

Abstract

In the previous chapter, you built your first multiview application. In this chapter, you’re going to build another one—this time, it will be a full tab bar application with five different tabs and five different content views. Building this application will reinforce a lot of what you learned in Chapter 6. Now, you’re too smart to spend a whole chapter doing stuff you already sort of know how to do, so we’re going to use those five content views to demonstrate a type of iOS control that we have not yet covered. The control is called a picker view, or just a picker. You may not be familiar with the name, but you’ve almost certainly used a picker if you’ve owned an iPhone or iPod touch for more than, say, 10 minutes. Pickers are the controls with dials that spin. You use them to input dates in the Calendar application or to set a timer in the Clock application (see Figure 7-1). On the iPad, the picker view isn’t quite as common since the larger display lets you present other ways of choosing among multiple items; but even there, it’s used in the Calendar application.

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

Access this chapter

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

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). Tab Bars and Pickers. In: Beginning iPhone Development with Swift 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1754-2_7

Download citation

Publish with us

Policies and ethics