Reputation: 13371
You can create a class reference with the following code:
Class M = [NSMutableString class]; // NSMutableString (for example).
You can then call methods on that saved class with code like this:
[M string];
But can you create instances, from that class name (I know the following doesn't work)?
M *newInstance;
Upvotes: 13
Views: 11135