Skip to content

Conversation

@swhitty
Copy link
Owner

@swhitty swhitty commented Aug 24, 2023

The UserDefaults getters for retrieving simple types like Bool and String include specific translations like converting the YES true string values into Bool types.

The UserDefaults.decode method that retrieves any Decodable type should special use the types to preserve compatibility with the getters.

@swhitty swhitty merged commit bc258e5 into main Aug 24, 2023
@swhitty swhitty deleted the userdefaults-native branch August 24, 2023 12:38
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.

2 participants