How to get class object by NSString
We could use [NSObject class] to get class object, but forgot how to get class object by string, somethi开发者_运维问答ng like [OBJ getClassByNSString: @"NSString"]?
Thanks.
Class myClass = NSClassFromString(@"ClassName");
精彩评论