Read the documentation on -isKindOfClass: again. It does exactly what
you want. -isMemberOfClass: performs the more specific test of
excluding subclasses.
On 10 Feb 2009, at 17:16, Andy Bettis wrote:
I have an id object that I'd like to test to see if it's a certain
class or a subclass of that class. isKindOfClass gives a very
specific test, is there an easy way to test for an object being a
subclass of a class?
Rev. Andy
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
This email sent to cocoa...@mikeabdullah.net
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com