Article View: comp.sys.next.programmer
Article #1688Re: isKindOf: and IsKindOfClassNamed: problems
From: Alex Blakemore
Date: Thu, 01 Oct 1992 03:33
Date: Thu, 01 Oct 1992 03:33
22 lines
1311 bytes
1311 bytes
I wrote > >the difference between the IsKindOf and IsMemberOf methods (and their cousins > >that take class names instead of class objects as args) is how they handle subclasses. Tim McClarren wrote: > That's not what was being discussed, nor is it what you said in your former post. > I was already well aware of the differences between the "isKindOf:" and "isMemberOf:" methods. You're right, I read the original post wrong. Sorry to send you to the release notes and other docs - only to have them not solve the problem. At a slower glance, it sure looks like a bug, > (gdb) print [aClassObject isKindOf:[Process class]] > $6 = 0 > (gdb) print [aClassObject isKindOfClassNamed:"Process"] > $7 = 1 -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Technical Details
Message-ID:
<60784@mimsy.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!mimsy!alexReferences:
<timm.717827168@xongmao> <60755@mimsy.umd.edu> <timm.717888721@xongmao>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!haven.umd.edu!mimsy!alex From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.programmer Subject: Re: isKindOf: and IsKindOfClassNamed: problems Message-ID: <60784@mimsy.umd.edu> Date: 1 Oct 92 03:33:38 GMT References: <timm.717827168@xongmao> <60755@mimsy.umd.edu> <timm.717888721@xongmao> Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 22