-
Make A Toggle Button
Sometimes you need a control that doesn’t yet exist. For example, the UISwitch control is far from customizable. I’d like a toggle switch that looks more like an old-fashioned switch or pushbutton. Let’s learn the basics of making your own controls by making a UIButton into a toggle button. Open the example file. You’ll find…
-
Recursion and UIView Changes
One powerful, yet sometimes rightfully feared programming technique is recursion. Many do not even use it, some don’t know what it is, but when working with hierarchies, you really have to use it. Let’s take a look at recursion and apply it to a common UI case where you need it. Download and open the…