• 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
Newbie NSUserDefaults question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie NSUserDefaults question


  • Subject: Newbie NSUserDefaults question
  • From: Totte Alm <email@hidden>
  • Date: Sat, 1 Oct 2005 09:08:22 +0200

Hello Cocoa experts,

I have some common prefs, shared between two handfulls of applications and tools, written in CArbon, Cocoa and some in REALbasic even, all sharing the same prefs for database connectivity.

First, Each app could edit the prefs, later I made a small prefseditor in Cocao for this, works like a charm, but the clienat now want that to be a Systems Prefs panel.

So, how do I Load/Save setting for a specified bundleridentifier?

This is how I do it in my settings app, but I cheat, and have the BundlerIdenifier set to se.aktieservice.sissystems.
That one I used fo all th apps from Carbon in the beginning.


I do this
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];

How Do I load prefs for the bundleidentifer I want??

// Totte

-------------------------------------------------------------
I never expected the Spanish Inquisition!

_______________________________________________
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


  • Follow-Ups:
    • Re: Newbie NSUserDefaults question
      • From: Adam Leonard <email@hidden>
    • Re: Newbie NSUserDefaults question
      • From: j o a r <email@hidden>
  • Next by Date: Re: Newbie NSUserDefaults question
  • Next by thread: Re: Newbie NSUserDefaults question
  • Index(es):
    • Date
    • Thread