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: Ondra Cada <email@hidden>
- Date: Sat, 10 Apr 2004 13:15:24 +0200
Ramakrishna,
On Saturday, Apr 10, 2004, at 12:50 Europe/Prague, Ramakrishna
Kondapalli wrote:
I have an NSArray. It contains objects of type NSDictionary, NSString,
NSTextField etc in any order. For a given index how do I know whether
it is a NSDictionary or NSString or something else type object?
See the isKindOfClass: message of NSObject.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.