Re: SELs in arrays
Re: SELs in arrays
- Subject: Re: SELs in arrays
- From: Ondra Cada <email@hidden>
- Date: Tue, 25 Sep 2001 21:04:09 +0200
John,
>
>>>>> John C. Randolph (JCR) wrote at Tue, 25 Sep 2001 11:45:20 -0700:
JCR> >I guess it would be cleaner using NSValue, but I'm just used to the
JCR> >integers ;)))
JCR>
JCR> This won't work, since on Mac OS X and NEXTSTEP, selectors aren't
JCR> integers, but uniqued C strings:
This *will* work, since in any ObjC implementation selectors are convertible
to int. In NeXT (and therefore Apple) ObjC they are just pointers -- which
is a type convertible to int all right.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc