I have an object in objective-c at runtime, from which I only know the KVC key and I need to detect the return value type (e.g. I need to know if its an NSArray or NSMutable
If you know that the property is defined :
id vfk = [object valueForKey:propertyName]; Class vfkClass = vfk.class;
And compare with isKindOfClass, isSubClass, etc.