SwiftstructMusicUI
struct MusicUI.BannerHeaderView.ContentView
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 9
- field
var _horizontalSizeClass: SwiftUI.Environment<SwiftUI.UserInterfaceSizeClass?> - field
var _legibilityWeight: SwiftUI.Environment<SwiftUI.LegibilityWeight?> - field
var _metricsContext: SwiftUI.State<JetEngine.MetricsFieldsContext> - field
var _typeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize> - field
var _width: SwiftUI.State<CoreGraphics.CGFloat> - field
let model: AppleMediaServicesUI.BannerMessageModel - field
let resize: () -> () - field
var viewModel: MusicUI.BannerHeaderView.ContentView.ViewModel - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<MusicUI.UnifiedMessages.Banner, SwiftUI._EnvironmentKeyWritingModifier<JetEngine.MetricsFieldsContext>>, SwiftUI._ValueActionModifier2<SwiftUI.DynamicTypeSize>>, SwiftUI._AppearanceActionModifier>, SwiftUI._ValueActionModifier2<Swift.Optional<SwiftUI.LegibilityWeight>>>, SwiftUI._AppearanceActionModifier>, SwiftUI._EnvironmentKeyWritingModifier<CoreGraphics.CGFloat>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Bool>>, SwiftUI._EnvironmentKeyWritingModifier<Swift.Bool>>, SwiftUI._BackgroundModifier<SwiftUI.GeometryReader<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Color, SwiftUI._ValueActionModifier2<CoreGraphics.CGFloat>>, SwiftUI._AppearanceActionModifier>>>>, SwiftUI._SafeAreaRegionsIgnoringLayout>
Header
struct MusicUI.BannerHeaderView.ContentView { @Observation.Observable class ViewModel { // synthesized from the storage `_isLandscape` that @Observable generated; the property's own accessors are stripped var isLandscape: Swift.Bool // synthesized from the storage `_isSidebarHidden` that @Observable generated; the property's own accessors are stripped var isSidebarHidden: Swift.Bool } // synthesized from the backing storage `_horizontalSizeClass`; the property's own accessors are stripped @SwiftUI.Environment var horizontalSizeClass: SwiftUI.UserInterfaceSizeClass? { get } // synthesized from the backing storage `_typeSize`; the property's own accessors are stripped @SwiftUI.Environment var typeSize: SwiftUI.DynamicTypeSize { get } // synthesized from the backing storage `_legibilityWeight`; the property's own accessors are stripped @SwiftUI.Environment var legibilityWeight: SwiftUI.LegibilityWeight? { get } let model: AppleMediaServicesUI.BannerMessageModel var viewModel: MusicUI.BannerHeaderView.ContentView.ViewModel // synthesized from the backing storage `_width`; the property's own accessors are stripped @SwiftUI.State var width: CoreGraphics.CGFloat { get set } // synthesized from the backing storage `_metricsContext`; the property's own accessors are stripped @SwiftUI.State var metricsContext: JetEngine.MetricsFieldsContext { get set } let resize: () -> () }