SwiftclassCarPlayUI
@Observable class CPUITransportButton.ViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 8
- field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _animateSelection: (() -> ())? - field
var _fontPointSize: CoreGraphics.CGFloat - field
var _image: CarPlayUI.CPUITransportControls.Image - field
var _isEnabled: Bool - field
var _isFocused: Bool - field
var _isPressed: Bool - field
var _prefersWhiteInDefaultState: Bool
Header
@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: (() -> ())? }