Re: NSMenuItem Action
Re: NSMenuItem Action
- Subject: Re: NSMenuItem Action
- From: David Blanton <email@hidden>
- Date: Sat, 27 Feb 2010 14:13:09 -0700
Thanks for the 2 cents ... hope my app will turn it into many dollars!
-db
On Feb 27, 2010, at 12:50 PM, Steven Degutis wrote:
Generally connecting them in IB works just fine. Sometimes this
won't be possible, though, and you should use code to do that (like
when creating items in code). But, keep in mind that the First
Responder is in every NIB file, and works amazingly when you have a
menu item that exists in a NIB, and know what action it sends, but
do NOT know what target it sends it to until runtime. Read more
about First Responder in Apple's docs, naturally.
-Steven's 2ยข
On Sat, Feb 27, 2010 at 2:40 PM, David Blanton
<email@hidden> wrote:
What is the best practice for connecting menu items to their actions?
Is it IB, is programatically?
If IB what is the process?
- db
_______________________________________________
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
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________
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