• 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: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "Sumner Trammell" <email@hidden>
  • Date: Fri, 8 Aug 2008 20:28:17 -0400

Thanks Shawn.  Another case of "Oh, now I know when to use that
mechanism I've heard so much about."


-s



On Fri, Aug 8, 2008 at 1:02 PM, Shawn Erickson <email@hidden> wrote:
> 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

References: 
 >Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib (From: "Sumner Trammell" <email@hidden>)
 >Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Core Data and Sheets
  • Next by Date: Re: Core Data and Sheets
  • Previous by thread: Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
  • Next by thread: Re: Xcode 3.1 Debugger Problems
  • Index(es):
    • Date
    • Thread