Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix value upgraded from version 3 #289

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

azone
Copy link

@azone azone commented Feb 23, 2022

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.

azone and others added 2 commits February 23, 2022 18:10
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.
@azone
Copy link
Author

azone commented Feb 28, 2022

@sunshinejr could you review this, please?

@azone
Copy link
Author

azone commented Mar 2, 2022

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.

Another situation is: the developer used UserDefaults directly before, and now is using SwiftyUserDefaults.

@azone
Copy link
Author

azone commented Apr 15, 2024

Why hasn't this pr been reviewed yet?

The author does not maintain it anymore, see this: #294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant