RE: How to find what kind of Objects are contained in NSArray
RE: How to find what kind of Objects are contained in NSArray
- Subject: RE: How to find what kind of Objects are contained in NSArray
- From: Angela Brett <email@hidden>
- Date: Sat, 10 Apr 2004 23:25:24 +1200
At 4:45 PM +0530 10/4/2004, Ramakrishna Kondapalli wrote:
NSObject worked well for it. [[myArray objectAtIndex:i] class]
-isMemberOfClass:, -isKindOfClass: and respondsToSelector: might also
be useful depending on what you want to do.
--
Angela Brett
email@hidden
http://NSCoder.com
_______________________________________________
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.