SwiftclassNotesEditor

@Observable class NotesEditor.ICRecordButtonViewModel

Structure

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

inherits{}

Members 11

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _accessibilityLabel: Foundation.AttributedString
  3. fieldvar _backgroundColor: SwiftUI.Color?
  4. fieldvar _canAnimateStyling: Bool+0x11
  5. fieldvar _currentLabelConfigurationIndex: Int?
  6. fieldvar _disabled: Bool
  7. fieldvar _innerViewColor: SwiftUI.Color?
  8. fieldvar _innerViewType: NotesEditor.ICRecordButtonViewModel.InnerViewType?+0x12
  9. fieldvar _labelAnimationConfiguration: NotesEditor.ICRecordButtonViewModel.LabelAnimationConfiguration
  10. fieldvar _labelConfigurations: [NotesEditor.ICRecordButtonViewModel.LabelConfiguration]
  11. fieldvar _style: NotesEditor.ICRecordButtonViewModel.Style+0x10
@Observation.Observable
class ICRecordButtonViewModel {
    struct LabelAnimationConfiguration {
        enum TransitionType {
            case crossFade
            case multiStepFade
        }
        let transitionType: NotesEditor.ICRecordButtonViewModel.LabelAnimationConfiguration.TransitionType
        let bounce: Swift.Bool
    }
    enum InnerViewType {
        case record
        case stop
        case pause
    }
    enum Style {
        case circle
        case capsule
    }
    struct LabelConfiguration {
        let text: SwiftUI.Text
        let font: SwiftUI.Font
        let color: SwiftUI.Color
    }
    // synthesized from the storage `_style` that @Observable generated; the property's own accessors are stripped
    var style: NotesEditor.ICRecordButtonViewModel.Style
    // synthesized from the storage `_canAnimateStyling` that @Observable generated; the property's own accessors are stripped
    var canAnimateStyling: Swift.Bool
    // synthesized from the storage `_innerViewType` that @Observable generated; the property's own accessors are stripped
    var innerViewType: NotesEditor.ICRecordButtonViewModel.InnerViewType?
    // synthesized from the storage `_innerViewColor` that @Observable generated; the property's own accessors are stripped
    var innerViewColor: SwiftUI.Color?
    // synthesized from the storage `_backgroundColor` that @Observable generated; the property's own accessors are stripped
    var backgroundColor: SwiftUI.Color?
    // synthesized from the storage `_labelConfigurations` that @Observable generated; the property's own accessors are stripped
    var labelConfigurations: [NotesEditor.ICRecordButtonViewModel.LabelConfiguration]
    // synthesized from the storage `_currentLabelConfigurationIndex` that @Observable generated; the property's own accessors are stripped
    var currentLabelConfigurationIndex: Swift.Int?
    // synthesized from the storage `_labelAnimationConfiguration` that @Observable generated; the property's own accessors are stripped
    var labelAnimationConfiguration: NotesEditor.ICRecordButtonViewModel.LabelAnimationConfiguration
    // synthesized from the storage `_accessibilityLabel` that @Observable generated; the property's own accessors are stripped
    var accessibilityLabel: Foundation.AttributedString
    // synthesized from the storage `_disabled` that @Observable generated; the property's own accessors are stripped
    var disabled: Swift.Bool
}