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 <aired...@tularosa.net>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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com