SwiftyUserDefaults
SwiftyUserDefaults copied to clipboard
Fix value upgraded from version 3
Version 3 of SwiftyUserDefaults saved Array<String|Int|Float|Double...> as Array in UserDefaults, if upgrade it to version 4 or 5.x, the value will be saved as Codable. Then the values will be lost in the new version.
@sunshinejr could you review this, please?
Version 3 of
SwiftyUserDefaultssavedArray<String|Int|Float|Double...>as Array in UserDefaults, if upgrade it to version 4 or 5.x, the value will be saved asCodable. Then the values will be lost in the new version.
Another situation is: the developer used UserDefaults directly before, and now is using SwiftyUserDefaults.