• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Cocoa Programmer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: New Cocoa Programmer (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Newbie: Using An EOModel in Code (Java)
  • Next by Date: User acess
  • Previous by thread: Re: New Cocoa Programmer
  • Next by thread: Re: New Cocoa Programmer
  • Index(es):
    • Date
    • Thread