Tag: Observable

iOS 17 @Observable and the Observation Framework

WWDC 2023 introduced us to the new iOS-17@Observable property wrapper along with a cleaned-up @State that now supersedes the previous @State @ObservedObject, @StateObject. This is fantastic — it’s always been a source of confusion for those starting on Swift...

SwiftUI Observable Objects

SwiftUI, Apple’s innovative and user-friendly UI framework, provides a way to build user interfaces across all Apple platforms with the power of Swift. One of its core components is Observable Objects, which play a critical role in managing the state of an app and updating the UI. “...