views:

78

answers:

1

I want to use XML or JSON to told my app. I want to make a dynamic application that will change a feature by passing class from XML.

is it possible ? if YES, could you please show me how to use NSClassFromString to interface with XML or JSON parser?

+1  A: 

NSClassFromString() only returns a Class object. It's not possible to serialize a classes methods and unpack them in this way. You could define your own string format for classes but you can't add completely new methods at runtime (it's against the SDK rules).

Steven Canfield
thanks Steven Canfield, for your information.
RAGOpoR