• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sharing preferences between applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Sharing preferences between applications (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re: How to change default browser in Mac OS X 10.2?
  • Next by Date: Design question
  • Previous by thread: Re: Sharing preferences between applications
  • Next by thread: Design question
  • Index(es):
    • Date
    • Thread