Swift Tom

Check out my WatchOS app Status of Github that I made using SwiftUI!

How to Detect Dark Mode in SwiftUI

SwiftUI makes it really simply to detect when dark mode is enabled. We simply have to add a @Enviroment variable and use .colorScheme property to scan the settings on our device and see if dark mode is enabled. Let’s take a look at the example below. In the code above we are creating the @Environment […]

How to Set an Image as a WatchOS Complication

The reason I’m writing this post is because I had submitted a WatchOS side project I was working on (Status of Github) to the app store. The problem was that I submitted the app with all complications activated but had no image or placeholders for the complications (How embarrassing 🤦🏻‍♂️). So let’s jump into the […]


Follow My Blog

Get new content delivered directly to your inbox.