Closed tigpt closed 1 year ago
implement simple swift data from iOS 17 as a way to save user settings without using UserDefault that apple is slowly deprecating.
Looks like SwiftData only works with arrays, as its normal to query CoreData for items.
for singletons its better to use @AppStorage
@AppStorage
implemented in https://github.com/AWSary/AWSary-iOS/commit/88406b5df4390983f4a34c45d23d8c8ece0f4c71
implement simple swift data from iOS 17 as a way to save user settings without using UserDefault that apple is slowly deprecating.