A technique for managing modal views in iOS

How often have you been tasked with adding a modal takeover view to an iOS app? You know, one of those views that are supposed to appear when the user launches the app, “on top of everything else”. It’s a common ask, and it can be useful to present something to the user right away. Some examples from my experience include: ‘Time to update!’ ‘What’s new in this version’ ‘Is this contact information still correct?’ Passcode verification when opening the app Display some view because the user opened the app using a deep link Implementing the actual views for these use cases is one thing, but making sure that they appear at the correct time is another. If we just have one of these modal views, it’s simple: just present it after the app has been launched. But what happens when we want to show multiple modal views upon app launch? Out of the examples above, what happens if the user has passcode verification enabled in the app, opens the app through a deep link, and has just upgraded the app? ...

January 1, 2024

Insights from my first year as an iOS developer

About a year ago, in December 2015, I made the switch from frontend web development to iOS app development. I was fortunate enough to be able to do so without joining a new employer, and I was also fortunate enough to work in an all-Swift app. In fact, I’ve not written a single line of Objective-C during my year as an iOS developer. Before making the switch, I’d worked professionally with the web since 2008, and privately a good bit longer, both with backend and frontend development over the years. I generally like to do a bit of both. But now, it was time to try something new. This blogpost sums up some of my insights after one year as an iOS developer. Let’s get cracking. ...

November 21, 2016