Newbie NSUserDefaults question
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