Skip to content

Initializer

init(wrappedValue:from:)

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
Creates a codable configuration wrapper for the given value, using the given configuration provider type.
init(wrappedValue: T, from configurationProvider: ConfigurationProvider.Type)

Parameters

wrappedValue

The underlying value to make codable, using data from the configuration provider.

configurationProvider

The type of the configuration provider, which provides additional information to encode wrappedValue.