URLKeyCodable

public protocol URLKeyCodable

Mechanica

Types adopting the URLKeyCodable protocol can be used to construct key path to URL values.

  • url(forKey:) Extension method

    Mechanica

    Returns an URL value (if any) for an URLKey.

    Declaration

    Swift

    public final func url(forKey key: URLKey) -> URL?