Custom Sub Views
Day 11
Placing and drawing UIView objects using the Object Library works a lot of the time, but there are instances where you’ll need to create your own custom views. A sub view is just a UIView object placed within a parent view. They can be created through the GUI by dragging out an object such as a button or label, or programatically.
There are two common reasons why you’d want to create a custom sub view:
- You want create a custom drawing on the screen; or
- You want to handle touch events in a way different from the defaults
I’m creating this using a new, single-view application project. Keep reading →
