SwiftclassCarPlayUI

@Observable class CPUIMediaContainerTableHeaderFooterView.ViewModel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _artwork: MusicKit.Artwork?
  3. fieldvar _playAction: (() -> ())?
  4. fieldvar _shuffleAction: (() -> ())?
  5. fieldvar _subtitle: String?
  6. fieldvar _title: String
@Observation.Observable
class ViewModel {
    // synthesized from the storage `_artwork` that @Observable generated; the property's own accessors are stripped
    var artwork: MusicKit.Artwork?
    // synthesized from the storage `_title` that @Observable generated; the property's own accessors are stripped
    var title: Swift.String
    // synthesized from the storage `_subtitle` that @Observable generated; the property's own accessors are stripped
    var subtitle: Swift.String?
    // synthesized from the storage `_playAction` that @Observable generated; the property's own accessors are stripped
    var playAction: (() -> ())?
    // synthesized from the storage `_shuffleAction` that @Observable generated; the property's own accessors are stripped
    var shuffleAction: (() -> ())?
}