Would suites work for you?
From the NSUserDefaults docs…
Maintaining Suites
- addSuiteNamed:
Inserts the specified domain name into the receiver’s search list.
- removeSuiteNamed:
Removes the specified domain name from the receiver’s search list.
Sandor Szatmari
> On Apr 2, 2021, at 17:05,
I used to manage different NSUserDefaults in my app depending on which monitor
it runs.
So, I create filenames of the user defaults like this:
NSString * defaults_name = [ NSString stringWithFormat:@"de.zach.MyApp.%@",
displayname ];
Then I used to create the NSUserDefaults object with an