Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
- Subject: Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 8 Aug 2008 10:02:00 -0700
On Fri, Aug 8, 2008 at 8:52 AM, Sumner Trammell
<email@hidden> wrote:
> Hi, my document-based app, created from the Xcode document-based app
> template, now needs a new item added to its File menu.
>
> Menu items are, of course, in MainMenu.nib, and the rest of the app's
> widgets, like the main window, etc. are in MyDocument.nib.
>
> I can't control-drag from my new menu item in MainMenu.nib to the
> File's Owner object in MyDocument.nib. It makes sense to me that I
> can't, but it never occurred to me that I couldn't. Does that make
> sense?
>
> I'm not sure what to do to reshape my design. Would this be a prime
> reason to subclass NSDocumentController? Or am I just missing
> something in IB?
First Responder and the Responder Chain... learn it, live it, love it
<http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/chapter_2_section_5.html>
<http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/chapter_2_section_6.html>
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/ApplicationBasics/chapter_3_section_2.html#//apple_ref/doc/uid/TP40005344-CH3-SW15>
etc.
-Shawn
_______________________________________________
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