Kinds of Controls

System-supplied members of the UIControl family include buttons, segmented controls, switches, sliders, page controls, and text fields. Each of these controls can be found in Interface Builder’s (IB’s) Object Library (Command-Control-Option-3, View > Utilities > Show Object Library), as shown in Figure 2-1.

Image

Figure 2-1 Interface Builder provides its available controls in the Object Library. From the top-left, these are labels (UILabel), buttons (UIButton), segmented controls (UISegmentedControl), text fields (UITextField), sliders (UISlider), switches (UISwitch), activity indicators and progress indicators (UIActivityIndicatorView ...

Get The Core iOS Developer’s Cookbook, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.