I would like to be able to use reflection on a classes within Objective C to determine what properties are available at run time.
I do something similar for classes right now using
NSString *str = NSStringFromClass([object class]);
What I would like to do is use this result to go back to the class and see what properties are available as well as what type these properties are.
May be this will help:
You can get the list of properties in a class using class_copyPropertyList
and then from each property, you can get the property name using
property_getNamefunction and the property attributes using theproperty_getAttributesfunction (if you need to filter read-write properties).