ある時点で UITableView を成長させる UIViewController があり、そのときに TableView インスタンス変数を初期化してビューに追加するだけですが、ビューに追加するセルのデキューを処理する方法がわかりません。再利用識別子が必要ですが、設定方法がわかりません。
このメソッド内で何をしますか?
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *cellIdentifier = @"wot";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier forIndexPath:indexPath];
return cell;
}