How do I save Dimensions or Units in my SwiftUI app so that they persist when the app is closed? I would like to store something like this var. @State var inUnit: Dimension = UnitMass.kilograms
How do I save Dimensions or Units in my SwiftUI app so that they persist when the app is closed? I would like to store something like this var. @State var inUnit: Dimension = UnitMass.kilograms