SwiftclassSwiftUI

@Observable class SwiftUI.SearchEnvironmentStorage

Structure

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

inherits{}

Members 4

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _boundProperties: SwiftUI.SearchEnvironmentStorage.BoundProperties
  3. fieldvar _properties: SwiftUI.SearchEnvironmentStorage.Properties+0x10
  4. fieldvar version: SwiftUI.VersionSeed
@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
}