Reputation: 404
I have two questions regarding Apple's +[NSUserDefaults standardUserDefaults]
:
1) Does this object represent preferences that are shared across all apps?
2) If not, and it has preferences for the current app only, what is the behavior in case I use it in a library that is embedded into two different apps? Will it be shared across these apps or not?
Upvotes: 1
Views: 412
Reputation: 7560
Although mipadi is absolutely right, I'd like to add some value here.
If you explicitly want to share preferences across apps, there's "App Suites" for you.
Upvotes: 1
Reputation: 410612
Upvotes: 2