iOS class与string之间的互相转换
通过类名获取类NSString *classStr = @"STImageView";Class STImageView = NSClassFromString(classStr);STImageView *imageView = [[STImageView alloc]init];通过类获取类名字符串NSString *classStr = NSString