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");
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");
上一篇:世界上最漂亮的刀图片?
世界上最成功的永动机?:下一篇
精彩评论