PropertyWrapperInitializable
public protocol PropertyWrapperInitializable
Protocol defining requirements for types that can publish wrapped Codable values.
Provides a unified interface for any type conforming to this protocol.
- WrappedValue: The generic type that must conform to Codable
- createInstance: Attempts to create an instance from any value
-
Undocumented
Declaration
Swift
associatedtype WrappedValue
-
Undocumented
Declaration
Swift
var wrappedValue: WrappedValue { get }
-
Undocumented
Declaration
Swift
init(wrappedValue: WrappedValue)
-
Undocumented
Declaration
Swift
static func createInstance(with value: Any) -> Self?