ObservableObject
from iOSのアプリをつくる
ObservableObject is a class-constrained protocol for connecting external model data to SwiftUI views.
An ObservableObject includes an objectWillChange publisher that emits when one of its @Published properties is about to change.
An ObservableObject includes a publisher that emits before any of its @Published properties changes.