sindresorhus / Defaults

💾 Swifty and modern UserDefaults
https://swiftpackageindex.com/sindresorhus/Defaults/documentation/defaults
MIT License
1.97k stars 117 forks source link

Support serialize and deserialize nested custom types #118

Closed hank121314 closed 1 year ago

hank121314 commented 1 year ago

Summary

This PR fixes: #101.

Defaults now support serializing and deserializing nested custom types.

Thanks

Thanks for your code review 😄 !

sindresorhus commented 1 year ago

Thanks for fixing this. Do you plan more changes after this PR? If not, I will make a release.

hank121314 commented 1 year ago

Do you plan more changes after this PR?

I would like to move on to #108. But I think this feature might be useful, maybe it is worth to make a minor release?

sindresorhus commented 1 year ago

maybe it is worth to make a minor release?

Ah, then it's no rush. We can wait until after that. Another reason to wait a little bit more is that the release would require Xcode 14.1.

hank121314 commented 1 year ago

Ah, then it's no rush. We can wait until after that. Another reason to wait a little bit more is that the release would require Xcode 14.1.

Got it! That makes sense. Thanks for the explanation!