Bridging state between UIKit and SwiftUI with Observable

  • using Observation framework to define mutable state
  • passing @Observable class to SwiftUI as a @Bindable
  • changing state from SwiftUI and tracking changes in UIKit
You need to purchase the book to read this chapter.Learn more about the bookAlready have a copy? Request access.