How can I find out the type of a NSDictionary element?
There's various sorts of introspection you can perform on any object at runtime, contained within the NSObject protocol.
http://developer.apple.com/documentation/
e.g.
You can test the class of an object at runtime by comparing it to a class object, which you can obtain by sending a class
message.
BOOL test = [self isKindOfClass:[SomeClass class]];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With