Introduction
I released an app called McClockface on the App Store when iOS 14 became available. I’d always promised myself that, one day, I’d release its macOS counterpart. “One day” did finally arrive, although it perhaps came around a lot later than expected — after all, there was no demand from the users’ side for a Mac app, so it got put on the backburner. It was whilst watching the brilliant Stanford CS193p lectures - Developing Apps for iOS that I got motivated to start building McClockface for Mac, primarily for the learning experience of developing for macOS with SwiftUI.
McClockface for Mac was released earlier this year, and in the present article I will share some useful tips I picked up along the way for handling multiplatform app development with SwiftUI — specifically, for adding macOS support to an already existing iOS app.