AutoSerializing
Wraps a value that is automatically read from/written to a file.
@propertyWrapper class AutoSerializing<T> where T : Decodable, T : Encodable
Wraps a value that is automatically read from/written to a file.
@propertyWrapper class AutoSerializing<T> where T : Decodable, T : Encodable
import Utils
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
init(wrappedValue: T, filePath: String)
var projectedValue: Binding<T> { get }
A strong reference to the value.
var storedValue: T { get }
var wrappedValue: T { get set }