SwiftprotocolSwiftUICore
protocol SwiftUI.PreferenceKey
Members 11
- func
static _delay<A where A1: SwiftUI.View>((SwiftUI._PreferenceValue<A>) -> A1) -> some SwiftUI.View - func
static _preferenceValuesEqual(A.Value, A.Value) -> Bool - func
static SwiftUI.PreferenceKey< where A.Value: Equatable>._preferenceValuesEqual(A.Value, A.Value) -> Bool - func
method descriptor for static _preferenceValuesEqual(A.Value, A.Value) -> Bool - func
method descriptor for static reduce(value: inout A.Value, nextValue: () -> A.Value) -> () - func
static visitKey<A where A1: SwiftUI.PreferenceKeyVisitor>(inout A1) -> () - var
static var _includesRemovedValues: Bool { get } - var
static var _isReadableByHost: Bool { get } - var
static var defaultValue: A.Value { get } - var
static var readableName: String { get } - associatedtype
associatedtype Value
Header
protocol PreferenceKey { associatedtype Value static var _includesRemovedValues: Swift.Bool { get } static var _isReadableByHost: Swift.Bool { get } static var defaultValue: Self.Value { get } static func reduce(value: inout Self.Value, nextValue: () -> Self.Value) static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool } extension SwiftUI.PreferenceKey where Self.Value: Swift.ExpressibleByNilLiteral { static var defaultValue: Self.Value { get } } extension SwiftUI.PreferenceKey { static var _includesRemovedValues: Swift.Bool { get } static var _isReadableByHost: Swift.Bool { get } static var readableName: Swift.String { get } static func visitKey<A1>(_: inout A1) where A1: SwiftUI.PreferenceKeyVisitor static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool static func _delay<A1>(_: @escaping (_: SwiftUI._PreferenceValue<Self>) -> A1) -> some SwiftUI.View where A1: SwiftUI.View static func _preferenceValuesEqual(_: Self.Value, _: Self.Value) -> Swift.Bool where Self.Value: Swift.Equatable }