Re: NSUersDefaults and setting for a specific domain
Re: NSUersDefaults and setting for a specific domain
- Subject: Re: NSUersDefaults and setting for a specific domain
- From: "Stephen Deken" <email@hidden>
- Date: Tue, 26 Sep 2006 15:22:48 -0500
There is, but it means dropping "down" to CFPreferences. Key/value
pairs set via CFPreferences are available through NSUserDefaults and
vice-versa.
Couldn't he also do something like:
NSUserDefaults *otherUserDefaults = [[NSUserDefaults alloc] init];
[otherUserDefaults addSuiteName:@"com.mycompany.myapp"];
And then use otherUserDefaults as a normal NSUserDefaults object?
Not in front of a mac at the moment, or I'd have tested this before sending it.
--sjd;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden