If you’ve been working with View controllers for a while, you’ve probably dealt with prepareForSegue. In Xcode 11, there’s a new way to handle this that makes a little more sense: Segue actions. Let’s take a look at this feature. If you download the… Continue Reading “Segue Actions”
One of the core elements of clean code is having code that is consistent with identifiers. Head to the AppDelegate. Take a look at this code from the tip from last week. I have a few problems with it. I’m not being very consistent… Continue Reading “Refactoring”
Learn how to take a disaster of nested stack views and untangle it into a great user interface.
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… Continue Reading “Sliders as Knobs”
You’ll often want default settings that users can change. iOS provides the settings bundle for storing this information. Let’s look at how to use the settings bundle. Download the starter example file. I created a project which eventually will display the user’s default pizza.… Continue Reading “The Settings Bundle”
iOS Development tips weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. The first week of a week’s tip will be available for free. After that, you will need a subscription to get access to it. Click the image… Continue Reading “Tip: Image Literals”
A few months ago my app Interval RunCalc was removed from the App Store for being too old and not updated. In this series of articles I’ll document what I did on rebuilding and improving the app. In our first article I analyzed the… Continue Reading “This Old App: 2013 Code, Meet Xcode 8”