© Wallace Wang 2019
Wallace WangBeginning iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4865-2_6

6. Adding User Interface Objects

Wallace Wang1 
(1)
San Diego, CA, USA
 

Controllers contain the user interface that appears on an iOS screen. At the simplest level, a controller can contain a view, which represents an iOS screen. By default, this view is blank, so to make it display information or provide interaction to the user, you can add a variety of user interface objects such as buttons, text fields, labels, or sliders.

User interface objects typically perform two different tasks. One, they either display information or allow the user to type or input information. Common types of user interface objects that display or allow input ...

Get Beginning iPhone Development with Swift 5: Exploring the iOS SDK now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.