Re: GSMutableDictionary class cluster and isKindOfClass

2020-05-28 Thread Riccardo Mottola
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

Re: GSMutableDictionary class cluster and isKindOfClass

2020-05-28 Thread Wolfgang Lux
Hi Riccardo > I have a strange issue. I get an object and check if it s a Dictionary, else > I spit out an exception. > > if ([obj isKindOfClass: [NSDictionary class]]) > { > do someting; > } > else if ([obj isKindOfClass: [DBSObject class]]) > { > do something els; > } > else > Error!!! >

GSMutableDictionary class cluster and isKindOfClass

2020-05-27 Thread Riccardo Mottola
Hi! I have a strange issue. I get an object and check if it s a Dictionary, else I spit out an exception. if ([obj isKindOfClass: [NSDictionary class]]) { do someting; } else if ([obj isKindOfClass: [DBSObject class]]) { do something els; } else Error!!! However I get the error: