my questions is about iPhone development.
I'm trying to figure out if there is a way to count ONLY the number of dictionaries within a dictionary.
for example, let's say this is my dictionary
Dictionary contains 5 elements:
- string
- string
- NSDictionary
- NSDictionary
- NSDictionary
I would like to count only the NSDictionaries... so the return value should be 3.
Is there any way to accomplish this?
Thanks.