• 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: NSMenuItem Action
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSMenuItem Action (From: David Blanton <email@hidden>)
 >Re: NSMenuItem Action (From: Steven Degutis <email@hidden>)

  • Prev by Date: Re: NSMenuItem Action
  • Next by Date: How to get my application version from inside my code?
  • Previous by thread: Re: NSMenuItem Action
  • Next by thread: How to get my application version from inside my code?
  • Index(es):
    • Date
    • Thread