В iOS5, используя ARC и ячейки прототипа для tableView на раскадровке, могу ли я заменить приведенный ниже код:
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[UITableViewCell alloc]
initWithStyle:UITableViewCellStyleDefault
reuseIdentifier:CellIdentifier];
}
// Configure the cell...
return cell;
Этим простым кодом ??:
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:@"Cell"];
return cell;
Я видел это на этом ссылка:
http://www.raywenderlich.com/5138/beginning-storyboards-in-ios-5-part-1
Заранее спасибо!
Арилдо