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: "Theodore H. Smith" <email@hidden>
- Date: Tue, 14 Jun 2005 17:08:19 +0100
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? Or from a dictionary?
Or something else?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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