Category: ios
-

My Coding Journey
I have been coding for most of my life. My father taught me the first basics using Delphi (formerly Object Pascal) around 1997. I still remember my first „real“ project I created with my dad during a vacation in Sweden. It was a simple quiz that read the questions and possible answers from a text…
-

Distribute iOS apps “over the air”
Most app developers have heard the following request at least once in their professional life I have this cool app idea that would help me in this very special use case. I don’t want to distribute it over the AppStore, it’s enough to have it on my phone only. If you are writing Android apps,…
-

Learn Accessibility on iOS With Me – Grouping and labels
In the first post of this series, we got a better understanding of accessibility by navigating our apps using VoiceOver. In the second post, we talked about the out-of-the-box accessibility features that ship with SwiftUI. Now it’s time to get some hands-on experience with the Accessibility API of SwiftUI. I assume, that most of you already have existing iOS…
-

My Experience With The VIP Pattern
At work, we decided to switch from our current MVVM-C pattern to a VIP(-C) approach. It’s not strictly implemented as suggested on https://clean-swift.com, but it is based on it. And of course, it is a gradual migration. It would be crazy to pause all ongoing projects for months just to bring the entire codebase to another architecture. Instead, we will…
-

Book Review: Test-Driven Development in Swift
I like Test-Driven Development (TDD). It’s a great idea to use tests to guide you through your development process. Just like the idea to end your day with a failing test. That way you have an awesome starting point the next day. In my previous job as a .NET developer, TDD was a familiar tool…
-

How I Debug Broken Layout Constraints in AutoLayout
While navigating our app at work, I try to keep an eye on the debug output and find warnings about broken layout constraints. This happens from time to time because we code all of our views and use AutoLayout to create the layouts. So nothing keeps us from coding conflicting constraints. 😄 A few days…
-

Quick Tip: Running tests repeatedly in Xcode
Making flaky tests fail Have you ever had a flaky test in your codebase? I did. Let me tell you, it isn’t enjoyable. The main problem is (who would have thought it?) the flakiness. It fails randomly on the CI, but if you run it locally, everything seems fine. A simple “Works on my machine” sounds tempting,…
-

Multiple Buttons in a SwiftUI List Element
If it looks like a button and behaves like a button, then it probably should be a button While writing another post for my accessibility series, I created a simple UI that contained a few Buttons inside of List row. A comparable example view could look like this: It’s just a list containing a single Element (the HStack), which itself…
-

Book Review: Developing Accessible iOS Apps
As you might know, I’m learning to create accessible iOS apps at the moment. If you are interested in the details, check out my blog post series “Learn Accessibility on iOS With Me”. A few weeks ago, a dear colleague of mine who attended the NSSpain recommended this talk by Daniel Devesa Derksen-Staats to me. In his talk, Daniel talks…