Re: object type testing
Re: object type testing
- Subject: Re: object type testing
- From: Ben Dougall <email@hidden>
- Date: Sun, 7 May 2006 17:34:14 +0100
Todd, thanks for the reply.
On Sunday, May 7, 2006, at 05:03 pm, Todd Blanchard wrote:
isKindOfClass: I think tests to see if you are a subclass of a given
class. Its what I have used before.
i'm not after subclasses though -- just is of a particular type or not.
so [anObject class] == [AClass self] works fine but is there any reason
i should use isMemberOfClass instead of that? (isMemberOfClass is the
one that's appropriate for me out of isMemberOfClass and isKindOfClass).
thanks, ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden