Property
public protocol Property : AnyProperty
-
Declaration
Swift
associatedtype Value -
Declaration
Swift
associatedtype Formatter : Formatter -
valueDefault implementationDefault Implementation
Declaration
Swift
var value: Value { get } -
Declaration
Swift
var formatter: Formatter { get } -
snapshotsDefault implementation -
dateExtension methodThe date of the latest value.
Declaration
Swift
public var date: Date { get } -
valuesExtension methodAn asynchronous stream of values, starting with the current value.
Declaration
Swift
public var values: AsyncStream<Value> { get } -
typeErasedValueExtension methodThe type-erased current value of the property.
Declaration
Swift
public var typeErasedValue: Any? { get } -
typeErasedFormatterExtension methodA type-erased formatter that can be used to build a human-friendly string from the value.
Declaration
Swift
public var typeErasedFormatter: Foundation.Formatter { get } -
typeErasedSnapshotPublisherExtension methodDeclaration
Swift
public var typeErasedSnapshotPublisher: AnyPublisher<AnySnapshot, Never> { get } -
asReadOnlyPropertyExtension methodDeclaration
Swift
public var asReadOnlyProperty: ReadOnlyProperty<Self> { get }
View on GitHub
Property Protocol Reference