tableView代理方法

1. 初始化一个table-view控制器来管理一个表格视图的一个给定的风格。 

- (id) initWithStyle:(UITableViewStyle)style

{

self = [super initWithStyle:style];

if (self) {

self.tableView.separatorColor = [UIColor clearColor];

self.tableView.separatorStyle = UITableViewCellSeparatorStyleSingleLine;

 

self.title = @"Currency";

self.hidesBottomBarWhenPushed = YES;

 

}

returnself;

}

原文地址:https://www.cnblogs.com/zander/p/2594070.html