通过NSString初始化OC类

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

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