• 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: Two applications, one preference file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two applications, one preference file


  • Subject: Re: Two applications, one preference file
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 1 Dec 2005 16:32:27 -0500
  • Organization: Rogue Research

On 2005-12-01 10:13, Andrew Bush said:

>so I have two applications, a management app and a background daemon
>that is always running.
>
>I would like both applications to be using the same preference file for
>the UserDefaults.....is it possible to set this up?

Yes, I do exactly this is my app too. It's very simple, just use
NSUserDefault's addSuiteNamed method.

--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada


_______________________________________________
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

  • Prev by Date: Re: Is Apple's singleton sample code correct?
  • Next by Date: NSRunLoop Quirkiness
  • Previous by thread: bind image to NSButtoncells in NSMatrix
  • Next by thread: NSRunLoop Quirkiness
  • Index(es):
    • Date
    • Thread