Instance Propertyswift 6.0.3Swift
codingKey
- iOS
- 15.4+
- macOS
- 12.3+
- tvOS
- 15.4+
- watchOS
- 8.5+
var codingKey: any CodingKey { get }
var codingKey: any CodingKey { get }
sSYss22CodingKeyRepresentableRzSi8RawValueSYRtzrlE06codingB0s0aB0_pvp
What are these?XNW1
where Self:CodingKeyRepresentable, Self.RawValue == Int
import Swift
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable
A type that can be used as a key for encoding and decoding.
protocol CodingKeyRepresentable
A type that can be converted to and from a coding key.
@frozen struct Int
A signed integer value type.
init?<T>(codingKey: T) where T : CodingKey