Re: Sharing preferences between applications
Re: Sharing preferences between applications
- Subject: Re: Sharing preferences between applications
- From: Chris Parker <email@hidden>
- Date: Tue, 13 May 2003 00:31:00 -0700
Hi Arthur,
On Monday, May 12, 2003, at 9:50 PM, Arthur VIGAN wrote:
how can I share a preference file between two (or more) applications?
Should I use persistent domain names?
Yes, you can do this in a couple of ways - using
persistentDomainForName: is one of them. You can also use the
NSUserDefaults method -addSuiteNamed: which holds preferences that can
be shared between applications, which inserts the preferences in the
named suite into the search path for use with objectForKey: et al.
.chris
--
Chris Parker
Cocoa Frameworks
Apple, Inc.
_______________________________________________
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.