I'm Trevor, a Swift developer working mainly in iOS đŸ“±. This blog is where I share my learnings, thoughts & insights. Thanks for reading!

Featured Posts:

CATEGORY

macOS

Refactor A Private Callback Based API To Use Async/Await

Last time we talked about how to refactor a callback based network call into an async/await based call. In that case, we had access to the underlying networking code & updated the entire chain of method calls to use async/await...

Read more

Refactor A Callback Based API To Use Async/Await

Recently I’ve refactored a few callback based network requests to use Swift’s new Async / Await syntax. Let’s take a look at how we can take a conventional callback based API method and improve its readability and simplicity...

Read more

SwiftUI Divider Colors & Thickness

Another SwiftUI post coming your way! This time we’ll take a look at Divider and how we can change its color. As nice as it would be to change the divider color with tint or foregroundColor, we can’t do it that way 😭...

Read more

I made a Swift syntax highlighting app

If you’re a Swift blogger like me, you probably have to come up with some easy way to highlight code syntax on the web. After some searching I came across Splash which was created by the relatively famous John Sundell (he uses...

Read more

Wait for a text field to have focus during an XCUITest

I was recently working on some XCUITests and attempting to get them working inside a CI/CD pipeline (Bitrise). It turns out that the virtual machines on Bitrise are a bit underpowered, so many things like building a project ...

Read more

Easily Keep Build Numbers And Marketing Versions In Sync

Let’s take a look at how to change all of your targets’ build numbers and marketing versions in a single place. I was surprised to find that a lot of developers don’t know this simple trick & manually change their build numbers...

Read more

Auto Increment Your Build Numbers

If you're like me you probably get tired of manually incrementing your app build number in Xcode. After a few hours of testing I finally nailed down a simple solution that works on Xcode 13.2.1. Let's dive right in...

Read more