SwiftUI ObservableObject Tutorial

SwiftUI ObservableObject Tutorial

ObservableObject is a protocol that’s part of the Combine framework. It is used within a custom class/model to keep track of the state. In this tutorial a stopwatch app is created, where the counter will be published for changes to the view. SwiftUI requires Xcode 11 and MacOS Catalina, for which the Betas can be downloaded at the Apple developer portal.

Read More