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: Andy Lee <email@hidden>
- Date: Tue, 14 Jun 2005 13:06:16 -0400
On Jun 14, 2005, at 12:08 PM, Theodore H. Smith wrote:
Using isEqualToString indeed is a bad practice, because it is both
slower than necessary and will not work well with localization.
Use selectors instead.
How do you use selectors from within validateMenuItem?
Do you get a selector from the menuitem itself?
Let me turn that around. How would you go about answering that for
yourself? How would you find out whether an NSMenuItem has some way
of giving you a selector?
--Andy
_______________________________________________
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