Re: Getting a reference to an NSMenuItem from another nib?
Re: Getting a reference to an NSMenuItem from another nib?
- Subject: Re: Getting a reference to an NSMenuItem from another nib?
- From: Andreas Mayer <email@hidden>
- Date: Tue, 14 Jun 2005 16:44:01 +0200
Am 14. Jun 2005 um 15:34 Uhr schrieb Theodore H. Smith:
Sure I can use tags, but that also is a bit yucky.
Use selectors instead. :-)
I think that menus, being global and all, really should be globally
accessable from all the nibs.
Using menu validation, they are. It's always the menu item's target
that is asked to do the validation. So your validation code is
exactly where it should be - in the class that has to handle the
message sent from the menu item.
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden