Re: getting the type of an object of a Dictionary
Re: getting the type of an object of a Dictionary
- Subject: Re: getting the type of an object of a Dictionary
- From: j o a r <email@hidden>
- Date: Mon, 5 May 2003 08:01:33 +0200
What about:
BOOL isString = [[myDict objectForKey: @"someKey"] isKindOfClass:
[NSString class]];
j o a r
On Monday, May 5, 2003, at 07:30 Europe/Stockholm, Salanki Benjamin
wrote:
is there a way to find out if an object for a given key of a
Dictionary is of a given type, say an NSString or an NSMutable
Dictionary?
_______________________________________________
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.