New big update of my Defaults Swift package is out, now with seamless iCloud syncing. All it takes is a single parameter.

It also comes with support for @​Observable, powered by macros.

Defaults is a type-safe UserDefaults wrapper.

https://github.com/sindresorhus/Defaults/releases/tag/9.0.0

Release 9.0.0 · sindresorhus/Defaults

Breaking Require watchOS 9 or later e800493 Improvements Add seamless iCloud synchronization (thanks to @hank121314) e837052 Add @ObservableDefault macro for @Observable classes (thanks to @kevi...

GitHub
@sindresorhus great stuff! Works well. Thanks :)