Summary
In this chapter, you saw how to implement a completely custom control by designing an adaptable layout and programming the whole control interaction.
You can experiment a lot with this new topic, and you can also create some new controls that you can (proudly) share with your fellow developers. A really interesting community where you can find inspiration for custom controls is http://www.cocoacontrols.com. Users here share their GitHub repositories, and you can try them in real time (with the help of a cool responsive web plugin) or just download the code and play with it!
The next chapter will be a gentle introduction to core graphics, one of the most (in) famous Cocoa frameworks. You will learn the basics of the framework and how to use it to perform even more customized drawing.