• 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: Using NSUserDefaults from a bundle-less app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSUserDefaults from a bundle-less app


  • Subject: Re: Using NSUserDefaults from a bundle-less app
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 4 Apr 2003 02:34:52 -0500

another option is to use the ScreenSaver framework. It includes an extension to NSUserDefaults to specify the bundle.

http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/ ScreenSaver/Reference/ObjC_classic/Classes/ScreenSaverDefaults.html

On Thursday, April 3, 2003, at 09:13 PM, John C. Randolph wrote:

This does absolutely nothing, that I can tell. I think it's because my
background app doesn't have a bundle... so how do I specify what domain to
save these defaults in?

You can open different defaults domains using -persistentDomainForName: AFAIK, it doesn't care whether your program lives in a bundle, just that it's linked to the foundation framework.
_______________________________________________
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: 
 >Re: Using NSUserDefaults from a bundle-less app (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: NSStrings obtained from CFStrings
  • Next by Date: Re: resizing cells with NSBrowser (j o a r)
  • Previous by thread: Re: Using NSUserDefaults from a bundle-less app
  • Next by thread: Re: Using NSUserDefaults from a bundle-less app
  • Index(es):
    • Date
    • Thread