Re: How to validate the Undo menu item?
Re: How to validate the Undo menu item?
- Subject: Re: How to validate the Undo menu item?
- From: Ondra Cada <email@hidden>
- Date: Fri, 9 Aug 2002 20:59:50 +0200
On Friday, August 9, 2002, at 07:35 , John C. Randolph wrote:
Is there a straightforward, robust method for doing a switch on a
selector?
That depends on your definition of "straightforward."
If you want to perform the moral equivalent of a switch statement on a
selector, you'll probably have to resort to a series of if..else if tests.
I've missed the first act somehow, so this might be either already said or
nonsense in the context, but almost (almost!) anywhere this kind of a
switch / if..else stream seems to be a solution, a number of categories
proves to be a better solution in the long run.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.