• 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: Targeting nil in Interface Builder menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Targeting nil in Interface Builder menu item


  • Subject: Re: Targeting nil in Interface Builder menu item
  • From: Graham Cox <email@hidden>
  • Date: Wed, 23 Apr 2008 16:13:36 +1000

Just ctrl-drag the link between the item and the "first responder" object in the nib main window. First responder stands for nil.

hth,

G.


On 23 Apr 2008, at 4:08 pm, Rick Mann wrote:
I have an Import command in my File menu that can apply to both the current document, and the app as a whole. I want it to send the - import action to the main window's document first, and if that doesn't exist, send it to the app. This seems like an application of an action sent to a nil responder, but I can't figure out how to set that up in IB.

Suggestions?

TIA,
--
Rick

_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: Targeting nil in Interface Builder menu item
      • From: Rick Mann <email@hidden>
References: 
 >Targeting nil in Interface Builder menu item (From: Rick Mann <email@hidden>)

  • Prev by Date: Targeting nil in Interface Builder menu item
  • Next by Date: Re: "Safe" frameworks for privileged tools?
  • Previous by thread: Targeting nil in Interface Builder menu item
  • Next by thread: Re: Targeting nil in Interface Builder menu item
  • Index(es):
    • Date
    • Thread