iOS Reference Library
日本語に翻訳されたiOSのドキュメントです。
スタンフォードiPhone Application Programming
アップルの現役社員による講義(スタンフォード大学の授業)が見られます。
iPhone Application Programming Course (CS 193P)
2010 Winter
講義動画…
//セルが選択された際に呼び出される – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //選択されたセルを取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; //セルにチェックが付いている場合はチェックを外し、付いていない場合はチェックを付ける if (cell.accessoryType == UITableViewCellAccessoryCheckmark) { cell.accessoryType = UITableViewCellAccessoryNone; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } }
graffiti on the web
この投稿へのコメント
コメントはまだありません。