The Pragmatic Ball boy

iOSを中心にやってる万年球拾いの老害エンジニアメモ

2012-06-11から1日間の記事一覧

UITableViewのcellForRowAtIndexPathのテンプレ

全部同じCellの場合はこれでOK。Cellによって配置とか構成を変える場合は、別のCellIdentifierを用意する。- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { // See if there's an existing cell…