sunshinejr / SwiftyUserDefaults

Modern Swift API for NSUserDefaults
http://radex.io/swift/nsuserdefaults/static
MIT License
4.87k stars 367 forks source link

Support for Shared User Defaults #120

Closed indivisable closed 7 years ago

indivisable commented 7 years ago

How does this work if we plan on using App groups to share settings between two apps?

Sharing Data with Your Containing App:

https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html

indivisable commented 7 years ago

var Defaults = UserDefaults(suiteName: "com.my.app")!