Ranges in Swift

You’ve probably used ranges in loops, without knowing it, but ranges are really a type in Swift. Have you ever thought about ranges and all their power? I’ll show you a few things you might want to know about Swift ranges. I've put a playground into a Project for an exercise file. I added there an …

Use Test Flight

One of the really cool features of the App development process is getting real users to beta test your app. iOS  has a great way to do this with the test flight app. This week, I'll summarize the steps to set up Test Flight for your app to beta test. I'll be using my own …

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 …