Chapter 8. How to Build Custom Controls
In the previous chapters, you learned the basics needed to create user interfaces, starting from the huge set of elements provided by Apple itself. Sometimes, though, a particularly complex design or an unusual way required to interact with your app generates an equally unusual need that cannot be satisfied using the UIKit set only. In this chapter, you'll learn how to build a totally custom control by designing its structure and user interface and by programming all the functionalities from the ground up in order to create something that answers your specific need.