Tag: swift

  • Learn Accessibility on iOS With Me – Grouping and labels

    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…

  • Book Review: Test-Driven Development in Swift

    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

    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…

  • Multiple Buttons in a SwiftUI List Element

    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…