On Jun 9, 2011, at 12:51, Siegfried wrote:

> From the other items, I just need to retrieve their tags so I didn't connect 
> the action on the popup as it was an ivar already, and just created a 
> specific action for the "Cusom" item.

Is there any reason not to use a specific tag for the custom item? It may seem 
like an uglier way to do it, but given that you've got to get back to the 
original popup button, I think it's less code overall to detect the tag in your 
common code instead of trying to route that one item differently.

The only reason to avoid the tag approach is if there's no unique tag value you 
can set aside for this item.


_______________________________________________

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

Reply via email to