Article View: comp.sys.next.programmer
Article #1684Re: isKindOf: and IsKindOfClassNamed: problems
From: Tim McClarren
Date: Wed, 30 Sep 1992 21:32
Date: Wed, 30 Sep 1992 21:32
30 lines
1934 bytes
1934 bytes
alex@cs.umd.edu (Alex Blakemore) writes: >In article <timm.717827168@xongmao> timm@xongmao.ncsa.uiuc.edu (Tim McClarren) writes: >> Well, I can't seem to find a rationale for the changes, although I >> did find them documented in ObjC.rtf in the Developer Release Notes. >> I am having the same problem as the original poster. And the Release Notes >> don't make the behavior any clearer to me. I should think that these >> things should both return YES or both return NO. Any other clues? >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. >if an object x is an instance of class B (which is a subclass of A) then >x is a kind of A but x is NOT a member of A. >(x is both a kind of B and a member of B) >for more info look in the concepts section on objective C or the >reference for the class Object. 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. So the questions still stands: where is the rationale documented, and why is gdb exhibiting this odd behavior? Anyone, anyone? -- Tim McClarren | "...a bajillion brilliant Jobsian lithium licks." timm@ncsa.uiuc.edu| (217)244-0015 |
Technical Details
Message-ID:
<timm.717888721@xongmao>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!xongmao!timmReferences:
<1992Sep28.062357.11948@doberman.uucp> <60683@mimsy.umd.edu> <timm.717827168@xongmao> <60755@mimsy.umd.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!xongmao!timm From: timm@xongmao.ncsa.uiuc.edu (Tim McClarren) Subject: Re: isKindOf: and IsKindOfClassNamed: problems References: <1992Sep28.062357.11948@doberman.uucp> <60683@mimsy.umd.edu> <timm.717827168@xongmao> <60755@mimsy.umd.edu> Message-ID: <timm.717888721@xongmao> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Wed, 30 Sep 1992 21:32:01 GMT Lines: 30