[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: isKindOf: - GSObjCIsKindOf
From: |
Marko Mikulicic |
Subject: |
Re: isKindOf: - GSObjCIsKindOf |
Date: |
Thu, 30 Aug 2001 02:06:07 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 |
Nicola Pero wrote:
>>It seems that the class method +isKindOfClass: has precedence over the
>>instance method -isKindOfClass: defined in NSObject (an thus
inherited >>by every class object).
>> The +isKindOfClass: is defined with the == operator and NSObject.
>>Is this correct ?
>Yes - according to the doc, this is what other openstep systems do
Why duplicate the isMemberOf method and why deviate from the semantic
of the instance method isKindOfClass ?
Objective-c is based on smalltalk and it seems very strange to me that
the concept of "kind" is so deviated, unless some important reason
induced this design decision. Somebody knows why ?
(Strange, I looked in the specs of OpenStep (on gnustep.org) and in the
docs of MacOSX and I didn't find a single word on isKindOfClass.)
Marko
- isKindOf: - GSObjCIsKindOf, Marko Mikulicic, 2001/08/24
- Re: isKindOf: - GSObjCIsKindOf, Pascal Bourguignon, 2001/08/24
- Re: isKindOf: - GSObjCIsKindOf, Marko Mikulicic, 2001/08/25
- Re: isKindOf: - GSObjCIsKindOf, Nicola Pero, 2001/08/28
- Re: isKindOf: - GSObjCIsKindOf,
Marko Mikulicic <=
- Re: isKindOf: - GSObjCIsKindOf, Stefan Böhringer, 2001/08/30
- Re: isKindOf: - GSObjCIsKindOf, Marko Mikulicic, 2001/08/30
- Message not available
- Re: isKindOf: - GSObjCIsKindOf, Stefan Böhringer, 2001/08/31
- Re: isKindOf: - GSObjCIsKindOf, Nicola Pero, 2001/08/30
Re: isKindOf: - GSObjCIsKindOf, Nicola Pero, 2001/08/28