• 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: Charles Srstka <email@hidden>
  • Date: Mon, 15 Apr 2002 18:26:33 -0500

It's not much different than writing a Cocoa app. In Project Builder, create a new project, and choose "Preference Pane" from the options. It gets you set up, and all you really need to do is make some buttons, etc, and hook them up to actions that modify the preferences you need to modify. There are some caveats - you need to use mainViewDidLoad instead of applicationDidFinishLaunching, and in general, you should not use NSApplication or [NSBundle mainBundle] stuff, using instead stuff that's specific to the preference pane. You can find most of these things in the NSPreferencePane header file in the PreferencePanes framework, I think.

On Monday, April 15, 2002, at 05:56 PM, 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!!

-----------------------------------------------
email@hidden
AIM - whitesaint
Need a Mac OS X app? E-mail me and ill be happy to help.
_______________________________________________
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.
_______________________________________________
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: Re: [me needsHelpWith:prefPanes];
  • Next by Date: Opening a folder in the finder
  • Previous by thread: Re: [me needsHelpWith:prefPanes];
  • Next by thread: Re: [me needsHelpWith:prefPanes];
  • Index(es):
    • Date
    • Thread