Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > System Preferences

System Preferences
Thread Tools
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
Jul 15, 2002, 10:09 PM
 
I am working on a system preferences prefpane, and I'm thinking that storing my prefPanes preferences in ~/Library/Preferences/com.apple.systempreferences.plist is a bad idea. Usually when I'm writing an app, my preferences are stored in there own .plist file named as defined by the bundle settings identifier. I've already written one prefPane and my preferences are stored in com.apple.systempreferences.plist. The problem Im anticipating now is that my prefernce keys may conflict with another prefPanes preference keys. So: How can I make my prefPane slap its preferences in its very own .plist thus avoiding the issue?

Thanx alot.
3R1C
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
Jul 16, 2002, 02:28 AM
 
this should answer your question:

<a href="http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/Tasks/Sample.html" target="_blank">http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/Tasks/Sample.html</a>
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Jul 16, 2002, 07:04 AM
 
Your preference pane is a bundle loaded into the System Preferences App - so defaults don't work normally.

See here:
<a href="http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000035.php" target="_blank">http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000035.php</a>
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:03 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2