SwiftstructSwiftUICore
PreferenceKeys
struct SwiftUI.PreferenceKeys
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.BidirectionalCollection
- protocolSwift.Collection
- protocolSwift.Equatable
- protocolSwift.RandomAccessCollection
- protocolSwift.Sequence
Members 24
- field
var keys: [SwiftUI.PreferenceKey.Type]+0x0 - func
add(SwiftUI.PreferenceKey.Type) -> () - func
contains(SwiftUI.PreferenceKey.Type) -> Bool - func
remove(SwiftUI.PreferenceKey.Type) -> () - init
init() -> SwiftUI.PreferenceKeys - subscript
subscript.getter : (Int) -> SwiftUI.PreferenceKey.Type - typealias
typealias Element = SwiftUI.PreferenceKey.Type - typealias
typealias Element = SwiftUI.PreferenceKey.Type - typealias
typealias Element = SwiftUI.PreferenceKey.Type - typealias
typealias Element = SwiftUI.PreferenceKey.Type - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Index = Swift.Int - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Indices = Swift.Range<Swift.Int> - typealias
typealias Iterator = Swift.IndexingIterator<SwiftUI.PreferenceKeys> - typealias
typealias Iterator = Swift.IndexingIterator<SwiftUI.PreferenceKeys> - typealias
typealias SubSequence = Swift.Slice<SwiftUI.PreferenceKeys> - typealias
typealias SubSequence = Swift.Slice<SwiftUI.PreferenceKeys> - typealias
typealias SubSequence = Swift.Slice<SwiftUI.PreferenceKeys> - var
var endIndex: Int { get } - var
var isEmpty: Bool { get } - var
var startIndex: Int { get }
Header
struct PreferenceKeys { var keys: [any SwiftUI.PreferenceKey.Type] init() var endIndex: Swift.Int { get } var isEmpty: Swift.Bool { get } var startIndex: Swift.Int { get } func add(_: any SwiftUI.PreferenceKey.Type) func remove(_: any SwiftUI.PreferenceKey.Type) func contains(_: any SwiftUI.PreferenceKey.Type) -> Swift.Bool subscript(_: Swift.Int) -> any SwiftUI.PreferenceKey.Type { get } }