• 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: Pref Pane building questons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pref Pane building questons


  • Subject: Re: Pref Pane building questons
  • From: Finlay Dobbie <email@hidden>
  • Date: Mon, 19 Jul 2004 10:57:21 +0100

On 19 Jul 2004, at 03:18, Kodex wrote:

Why dosnt my preference pane allow me to set my own
.plist and icon file? It uses the system defaults
icons and com.apple.systempreferences.plist no matter
what i seem to set. Thanks!

By "plist" I presume what you're trying to say is that "my defaults are saved in the com.apple.systempreferences domain". This is because your prefpane is a bundle, and is loaded into the system preferences application, which has the bundle identifier of com.apple.systempreferences.

This probably isn't what you want, so I suggest you look into CFPreferences which is more flexible and will allow you to do what you want to do.

As far as the icon goes, I think that's a long-standing bug. Workaround was to get info on it in the Finder and paste your custom icon on (like you would for any folder) IIRC.

-- Finlay
_______________________________________________
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: 
 >Pref Pane building questons (From: Kodex <email@hidden>)

  • Prev by Date: Re: cocoa app from scratch
  • Next by Date: Creating an EPS file from an NSImage
  • Previous by thread: Pref Pane building questons
  • Next by thread: NSTextField changing first responder on return key not working
  • Index(es):
    • Date
    • Thread