URLKeyCodable
public protocol URLKeyCodable
Mechanica
Types adopting the URLKeyCodable
protocol can be used to construct key path to URL
values.
-
url(forKey:)
Extension methodMechanica
Returns an
URL
value (if any) for anURLKey
.Declaration
Swift
public final func url(forKey key: URLKey) -> URL?