Sliders as Knobs

You've seen other apps rotate views, but you may have no idea how to do it yourself. Let me show you one way to rotate views. We'll make a simple knob control you might be able to use in your apps. Download the example file. On the storyboard, I added an UIImageView of a knob …

CALayer Masks

UI doesn't have to look like a rectangle. You might want a different shape for your icon. You can do that with layer masks. Let's learn how to set them up. Download the example files. You'll find an app with two square buttons. If you head over to the assets, you see I have a …

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 …

Embed Table Views

Here's an app I started from the downloaded example file. It is a restaurant check with a total, but I have to press the Order button to see the details in a table view on the next view controller. That button is a waste of real estate, and it would be nice to see the …