SwiftclassCarPlayUI

@Observable class CPUITransportButton.ViewModel

Structure

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

inherits{}

Members 8

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _animateSelection: (() -> ())?
  3. fieldvar _fontPointSize: CoreGraphics.CGFloat
  4. fieldvar _image: CarPlayUI.CPUITransportControls.Image
  5. fieldvar _isEnabled: Bool
  6. fieldvar _isFocused: Bool
  7. fieldvar _isPressed: Bool
  8. fieldvar _prefersWhiteInDefaultState: Bool
@Observation.Observable
class ViewModel {
    // synthesized from the storage `_image` that @Observable generated; the property's own accessors are stripped
    var image: CarPlayUI.CPUITransportControls.Image
    // synthesized from the storage `_fontPointSize` that @Observable generated; the property's own accessors are stripped
    var fontPointSize: CoreGraphics.CGFloat
    // synthesized from the storage `_isEnabled` that @Observable generated; the property's own accessors are stripped
    var isEnabled: Swift.Bool
    // synthesized from the storage `_isPressed` that @Observable generated; the property's own accessors are stripped
    var isPressed: Swift.Bool
    // synthesized from the storage `_isFocused` that @Observable generated; the property's own accessors are stripped
    var isFocused: Swift.Bool
    // synthesized from the storage `_prefersWhiteInDefaultState` that @Observable generated; the property's own accessors are stripped
    var prefersWhiteInDefaultState: Swift.Bool
    // synthesized from the storage `_animateSelection` that @Observable generated; the property's own accessors are stripped
    var animateSelection: (() -> ())?
}