• 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
NSPreference Sample Code / Hack (was: NSPreference API)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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?


References: 
 >NSPreference API (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: NSTask with Root Privs
  • Next by Date: Re: NSTask with Root Privs
  • Previous by thread: NSPreference API
  • Next by thread: Serious Questions
  • Index(es):
    • Date
    • Thread