Re: New Cocoa Programmer
Re: New Cocoa Programmer
- Subject: Re: New Cocoa Programmer
- From: Ondra Cada <email@hidden>
- Date: Mon, 12 Nov 2001 18:23:11 +0100
Marcel,
>
>>>>> Ondra Cada (OC) wrote at Mon, 12 Nov 2001 17:56:12 +0100:
OC> Well, that makes you *VERY* er, experienced
Incidentally, on a remotely related issue: I always thought that a class
name would not be useable in switch statement even if it could be used as an
expression, for the reason I said before (that it is a link-time, not a
compile-time constant).
If it is *not* the case, might you perhaps know why the following code is
uncompilable?
... switch (x) { case @selector(xyz): ... }
That should be (from the compiler's prespective) a pretty equivalent
situation as using class names there, or do I understand it improperly?
Thanks,
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc