sindresorhus / Defaults

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

Using Defaults to share among multiple frameworks? #129

Closed Maschina closed 1 year ago

Maschina commented 1 year ago

Generic question: Is it feasible to use the Defaults framework to keep the UserDefaults data synched among the multiple frameworks that my app is currently relying on? I am currently using several frameworks to structure and maintain my code base. Thanks for your short view on this.

sindresorhus commented 1 year ago

I don't see any problem in doing that. They will all share the UserDefaults.standard suite under the hood. So technically there's no "syncing".