Since their launch, universal apps (multiplatform apps) have been worth considering for both indie developers and large companies.
A macOS app to control the Xcode Simulator.
In this episode we build an app to app to track Dad Jokes, first using navigation views and lists, then porting it to macOS using Catalyst and native macOS SwiftUI, and finally adding in custom UI with gestures and more.
A cross-platform Reddit client built in SwiftUI
In an universal iOS/iPadOS/macOS target
This year Apple released the new App Lifecycle API for SwiftUI, which brings tons of new modifiers to replace AppDelegate callbacks. I have already covered most of them in previous posts. This week, we will discuss the new keyboardShortcut modifier, which allows us to assign a shortcut to any interacting view.
You can use the same SwiftUI skills for making an iOS app as you would for making an app on watchOS, tvOS or macOS. We'll cover the basics, and then dig into more detail about how SwiftUI can help you make changes to your app on every Apple device.
We will learn how to run the same views both on iOS, watchOS and macOS without any changes. To make it possible, all we need is an understanding of the view decomposition principle.