DateKeyCodable
public protocol DateKeyCodable
Mechanica
Types adopting the Date
protocol can be used to construct key path to Date
values.
-
date(forKey:)
Extension methodMechanica
Returns a
Date
value for aDateKey
.Declaration
Swift
public final func date(forKey key: DateKey) -> Date