• 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
Preferences in a separate nib file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preferences in a separate nib file


  • Subject: Preferences in a separate nib file
  • From: Derrick Bass <email@hidden>
  • Date: Sat, 5 Nov 2005 11:44:17 -0500

This is probably a dumb question, but here goes...

I'm trying to add a preferences panel to my app using Cocoa Bindings. I'm basically following <http://developer.apple.com/cocoa/ cocoabindings.html> but I want the preference panel in its own nib file. What do I need to do differently?

In particular, the example directly connects the Preferences menu item to the makeKeyAndOrderFront: action of the preference window. So how would I do that if the main menu and preference panel are in separate nib files? Is there a "no code" way to do this, or is the price of a separate nib having to write some code to connect things up?

I saw a post a few days ago that mentioned that Hillegass' book covers this exact topic, but alas I don't have a copy (and I'm traveling, so finding a copy could be difficult), so I was hoping someone here might help.

Thanks!

Derrick

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Preferences in a separate nib file
      • From: Cameron Hayne <email@hidden>
    • Re: Preferences in a separate nib file
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Re: Cocoa functionality analogous to ValidWindowRect?
  • Next by Date: Re: NSPropertyDescription userInfo
  • Previous by thread: Re: opening 'greyed out' files
  • Next by thread: Re: Preferences in a separate nib file
  • Index(es):
    • Date
    • Thread