decodeDecodable(_:forKey:)
Decodes a decodable value associated with a given key.
Declaration
@nonobjc func decodeDecodable<T>(_ type: T.Type, forKey key: String) -> T? where T : DecodableParameters
- type:
The type of the value to decode.
- key:
The key in the archive associated with the value to decode.