• 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: Noob: MainMenu.nib and MyDocument.nib targeting problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Noob: MainMenu.nib and MyDocument.nib targeting problems


  • Subject: Re: Noob: MainMenu.nib and MyDocument.nib targeting problems
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 23 Jul 2007 04:41:03 -0400

On Jul 23, 2007, at 4:00 AM, Alain Schartz wrote:

I suppose I could choose not to use an ApplicationController class at all and make the menu target the MyDocument class directly

That sounds like the way to go.

, but this raises a similar question; how do I access the current MyDocument object from inside MainMenu.nib ?

You don't connect it directly. You target the event to the "first responder", and let the responder chain route it to the correct document instance.


See <file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/BasicEventHandling/index.html> for details.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Noob: MainMenu.nib and MyDocument.nib targeting problems (From: Alain Schartz <email@hidden>)

  • Prev by Date: RE: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
  • Next by Date: Re: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
  • Previous by thread: Noob: MainMenu.nib and MyDocument.nib targeting problems
  • Next by thread: RE: Which profile is applied in converting PDF/EPS images from CMYK to RGB?
  • Index(es):
    • Date
    • Thread