Re: Reading in other applications defaulst
Re: Reading in other applications defaulst
- Subject: Re: Reading in other applications defaulst
- From: Dave Thorup <email@hidden>
- Date: Fri, 09 May 2003 11:00:57 -0600
On 5/9/03 10:16 AM, "Arthur VIGAN" <email@hidden> wrote:
>
Hi,
>
>
I have two applications working together: one is used to configure the
>
second which runs in the background. That's waht I would like my two
>
applications to read the same user defaults. But if I can't use the
>
usual [NSUserDefaults standardUserDefaults] from my second application
>
to read in the first application defaults... what is the solution?
Try something like this:
NSDictionary* dict;
dict = [[NSUserDefaults standardUserDefaults]
persistentDomainForName:@"your domain name"];
You can then use dict to get the values you need.
____________________________________
Dave Thorup
Software Engineer
email@hidden
voice: 801-805-9422
www.corda.com
Interactive data driven graphics.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.