NSPreference Sample Code / Hack (was: NSPreference API)
NSPreference Sample Code / Hack (was: NSPreference API)
- Subject: NSPreference Sample Code / Hack (was: NSPreference API)
- From: Frank Vercruesse <email@hidden>
- Date: Sun, 27 May 2001 17:29:48 +0200
I've found a way to subclass NSPreference and make my own preference
bundles. It's only a bad hack, but I've made such a bundle for my little
tool ASM (
http://asm.vercruesse.de ) and it works very well:
http://homepage.mac.com/vercruesse/cocoa/asm/prefbundlesample.tar.gz (13KB)
-Frank
PS: You have to move or copy the bundle to /System/Library/Preferences
after building it.
On Samstag, Mai 26, 2001, at 09:37 Uhr, Finlay Dobbie wrote:
Is the NSPreference API ever going to be opened up? Same goes for the
docklet API. I know there's a 3rd party glue library for docklets, but is
there any good reason that Apple hasn't opened it up yet?
It would be nice to be able to add preference panels. I also notice that
/Library/Preferences isn't searched... Are there any plans to add this
and open up the API to 3rd parties?