29,028
社区成员
发帖
与我相关
我的任务
分享
- (void)viewDidLoad {
[super viewDidLoad];
// ......
self.myCell = [(UITableView*)self.view dequeueReusableCellWithIdentifier:@"MyCell"];
}
//......
- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row==0)
return self.myCell;
else
// .......
}