SwiftclassSwiftUI
SearchEnvironmentStorage
@Observable class SwiftUI.SearchEnvironmentStorage
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 4
Header
@Observation.Observable class SearchEnvironmentStorage { struct Properties { var preferredSuggestionPlacement: SwiftUI.SearchSuggestionsPlacement.Role? } struct BoundProperties { var state: SwiftUI.SearchBoundProperty<SwiftUI.SearchFieldState>? var text: SwiftUI.SearchBoundProperty<Foundation.AttributedString>? var textSelection: SwiftUI.SearchBoundProperty<SwiftUI.TextSelection?>? var popoverAnchor: SwiftUI.SearchBoundProperty<SwiftUI.PlatformSearchPopoverAnchor?>? } struct AllProperties { var properties: SwiftUI.SearchEnvironmentStorage.Properties var boundProperties: SwiftUI.SearchEnvironmentStorage.BoundProperties } // synthesized from the storage `_properties` that @Observable generated; the property's own accessors are stripped var properties: SwiftUI.SearchEnvironmentStorage.Properties // synthesized from the storage `_boundProperties` that @Observable generated; the property's own accessors are stripped var boundProperties: SwiftUI.SearchEnvironmentStorage.BoundProperties @Observation.ObservationIgnored var version: SwiftUI.VersionSeed }