2011年01月25日 過去Blog
//セルが選択された際に呼び出される – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //選択されたセルを取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; //セルにチェックが付いている場合はチェックを外し、付いていない場合はチェックを付ける if (cell.accessoryType == UITableViewCellAccessoryCheckmark) { cell.accessoryType = UITableViewCellAccessoryNone; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } }

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

zencart META内のauthor、generatorの設定

2010年06月29日 過去Blog
includes/templates/テンプレート名/common 内のhtml_header.phpを編集。 What is Darvocet?…
「zencart META内のauthor、generatorの設定」をはてなブックマークに追加

php Fatal error: Cannot redeclare phpでのエラー

2009年12月07日 過去Blog
今回RSSを取り出すのに使っていた「MagpieRSS」を以下のように使っていたのですが、 include ('rss_fetch.inc'); require_once 'code_table.ucs2jis'; require_once 'jcode.php'; 繰り返し処理を行おうとしたところ、Fatal error: Cannot redeclare phpでのエラーとういうエラーが出…
「php Fatal error: Cannot redeclare phpでのエラー」をはてなブックマークに追加

NSAssert,NSAssert2

2011年04月13日 過去Blog
NSAssert 指定した条件が間違っていればlogに文字列を書き込む NSAssert2 指定した条件が間違っていればlogに引数2つの文字列を書き込む http://www.oomori.com/cocoafw/Foundation/NSAssert2/NSAssert2.html free raspberry ketones…
「NSAssert,NSAssert2」をはてなブックマークに追加

PHP で プログレス表示(進み具合を表示させる)

2010年02月20日 過去Blog
参考元:http://www.enbridge.jp/blog/2007/08/17232951.php [php] <?php echo "処理を開始します。しばらくお待ちください...<br />n"; echo str_pad(" ",4096)."<br />n"; …
「PHP で プログレス表示(進み具合を表示させる)」をはてなブックマークに追加

連絡先を選択させるモーダルビューを表示

2011年01月14日 過去Blog
ABPeoplePickerNavigationController *picker = [[ABPeoplePickerNavigationController alloc] init]; picker.peoplePickerDelegate = self; [self.navigationController presentModalViewController:picker anima…
「連絡先を選択させるモーダルビューを表示」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy