UserPreference now can have published defaultValue
better approach improved and added tests
This commit is contained in:
@@ -55,6 +55,7 @@ final class AppSettings {
|
||||
}
|
||||
|
||||
private static var suiteName: String = InfoPlistReader.main.appGroupIdentifier
|
||||
private static var remoteSuiteName = "\(InfoPlistReader.main.appGroupIdentifier).remote"
|
||||
|
||||
/// UserDefaults to be used on reads and writes.
|
||||
private static var store: UserDefaults! = UserDefaults(suiteName: suiteName)
|
||||
|
||||
Reference in New Issue
Block a user