gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSMutableDictionary class cluster and isKindOfClass


From: Riccardo Mottola
Subject: Re: GSMutableDictionary class cluster and isKindOfClass
Date: Thu, 28 May 2020 12:14:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.2

Hoi,

Wolfgang Lux wrote:
>> soo for some reason GSMutableDictionary is not isKindOfClass NSDictionary? 
>> and not a NSMutableDictionary either?
>>
>> I bet this used to work...
> It certainly still does work for me. Are you sure that the object you are 
> seeing is an instance object and not (for whatever reason) a class object?

sorry for the noise. The object was indeed an object.
The point is... I have the same check in 3 places to "guard" the object
types. However... one place was incomplete so it was falling through.
A check next day helped.

I was indeed puzzled, it loked impossible and I did this check many times.



Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]