Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

9. Building and Using Controls

9. Building and Using Controls

The UIControl class provides the basis for many iOS interactive elements, including buttons, text fields, sliders, and switches. These onscreen objects have more in common than just deriving from their ancestor class. Controls all use similar layout paradigms and target-action approaches. Learning to create a single control, no matter how specialized, teaches you how all controls work. Controls may appear visually unique and specialized, but a common development approach runs through them. This chapter introduces controls and their use. You discover how to build and customize controls in a variety of ways. From the prosaic to the obscure, this chapter introduces a range of control recipes you can reuse in your programs.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint