Comparing Objects' Classes
Comparing Objects' Classes
- Subject: Comparing Objects' Classes
- From: Kevin Wojniak <email@hidden>
- Date: Thu, 15 Jan 2004 10:06:34 -0800
If I have an object, say ball and I want to see if it's of an
NSDictionary or a BOOL or something else, how would I do this? I know I
can check for it's existence with nil but I need to identify it's
class...
Maybe if ([ball class]==[NSDictionary class]) ??
Many thanks,
Kevin
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.