• 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: [me needsHelpWith:prefPanes];
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [me needsHelpWith:prefPanes];


  • Subject: Re: [me needsHelpWith:prefPanes];
  • From: Carlos Weber <email@hidden>
  • Date: Tue, 16 Apr 2002 20:26:22 -1000

On Monday, April 15, 2002, at 01:08 , Roger O'Brien wrote:

Hi there. I am creating a killer application. I have just a few
questions. At
http://developer.apple.com/techpubs/macosx/AdditionalTechnologies/PreferencePanes/
index.html, in the frame that says "Creating a simple Pref Pane." Most
of the code is in Carbon. Well I was wondering if it is possible to
make pref panes with Cocoa instead. Because Cocoa kicks Carbon's butt,
and I don't want to spend 4 months learning Carbon just for a little
task like this. Also does anybody know where any examples are for pref
panes? All help is welcome and appreciated. Help!!

Relax. The API the docs refer to is CFPreferences; this is plain-vanilla C, which you already know if you are a Cocoa programmer :-)

It took me all of about 45 minutes to learn enough about the Core Foundation (the "CF" in CFPreferences) to be able to program a preferences pane. And, you can use a lot of Cocoa code, because many CFxxxx entities can be typecast to the corresponding NSxxxx entities. Try it; you'll like it!
_______________________________________________
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: 
 >[me needsHelpWith:prefPanes]; (From: "Roger O'Brien" <email@hidden>)

  • Prev by Date: Wierd prototype errors
  • Next by Date: Re: Cocoa with C++ Framework
  • Previous by thread: [me needsHelpWith:prefPanes];
  • Next by thread: Opening a folder in the finder
  • Index(es):
    • Date
    • Thread