Refactor UserSetting property wrapper to support Codable (#814)

* Add UserPreference property wrapper

* Delete UserSetting property wrapper

* Add PlistRepresentable support

* Add more convenience inits

* Add documentation

* Add UTs

* Fix flaky tests

* Fix more flaky tests

* Fix double optional problem in UserPreference

* Refine UTs

* Delete cache in UserPreference

* Conform Date to PlistRepresentable
This commit is contained in:
Alfonso Grillo
2023-04-21 12:46:04 +02:00
committed by GitHub
parent 1815b0a7ac
commit 4db6e68d79
7 changed files with 378 additions and 155 deletions
@@ -17,7 +17,7 @@
import Foundation
import SwiftUI
enum TimelineStyle: String, CaseIterable {
enum TimelineStyle: String, CaseIterable, Codable {
case plain
case bubbles