The decoder to read data from. このデコーダからデータを読み出すことになります。
Initializerinit(from:
init(from:configuration:)
Creates a new instance by retrieving the instance’s data from the specified decoder with help from the provided configuration.
Availability 有効性
- iOS 15.0+
- iPadOS 15.0+
- macOS 12.0+
- Mac Catalyst 15.0+
- tvOS 15.0+
- watchOS 8.0+
- Xcode 13.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
init(from decoder: Decoder
, configuration: Self.DecodingConfiguration
) throws
Parameters パラメータ
decoder
configuration
A decoding configuration instance that provides additional information necessary for decoding.