私はstoryboardsの2011 WWDCチュートリアルを見ていました。チュートリアルで 私は、次のコードに気づいた:iOS - uitableViewCellsを初期化しますか?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSindexPath *__strong)indexPath
{
// The identifier is defined in the storyboard
MyCustomCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyCustomCell"];
return cell;
}
QUESTION: が、これはそれを再利用しようとする前に、細胞を初期化する必要はありませんのiOS 5の新機能ですか? iOS 5にあまりにも多くの魔法があるように感じます。