通过NSString初始化OC类

  NSString *className = self.classNames[indexPath.section][indexPath.row];
    BaseMapViewController *subViewController = [[NSClassFromString(className) alloc] init];

posted @ 2015-09-06 14:19  frounk  阅读(243)  评论(0)    收藏  举报