StringKeyCodable
public protocol StringKeyCodable
Mechanica
Types adopting the StringKeyCodable
protocol can be used to construct key path to String
values.
-
string(forKey:)
Extension methodMechanica
Returns a
String
value for aStringKey
.Declaration
Swift
public final func string(forKey key: StringKey) -> String