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


ピックアップ記事

サーバの負荷(メモリ使用量を調べる)sar -r

2010年03月31日 過去Blog
sarコマンドを利用するために必要なシステムをインストール # yum install -y sysstat phpでデータを抜き出す $pp = popen('/usr/bin/sar -r 1 1', 'r'); while(!feof($pp)): var_dump(fgets($pp)); endwhile; pclose($pp); $pp = popen('/usr/bin/…
「サーバの負荷(メモリ使用量を調べる)sar -r」をはてなブックマークに追加

zencart META内のauthor、generatorの設定

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

[UIColor] フォントの色を変えたい時

2010年12月13日 過去Blog
UIアイテムに表示させるフォントの色などの設定 self.TextLabel = [self newLabelWithPrimaryColor:[UIColor colorWithRed:0.0 green:0.5 blue:1.0 alpha:1.0] selectedColor:[UIColor whiteColor] fontSize:14.0 bold:YES]; 上記のようにす…
「[UIColor] フォントの色を変えたい時」をはてなブックマークに追加

IE・FireFoxで使えるお気に入りボタン(ブックマークボタン)

2009年12月09日 過去Blog
<script type="text/javascript"> <!-- if(navigator.userAgent.indexOf("MSIE") > -1){ //Internet Explorer document.write('<!-'+'-[if IE]>'); document.write('<input type="button" valu…
「IE・FireFoxで使えるお気に入りボタン(ブックマークボタン)」をはてなブックマークに追加

[9]:SQLiteを使ってToDoリストアプリを作成(4)

2010年12月13日 過去Blog
今回がTodoリストの最後になります。SQLiteデータベースを使って、todoアイテムを追加・編集および、削除する詳細について扱って行きます。 以下の3つの記事を既に読まれている方を想定していますので、まだのかたは、先に以下の記事をご覧ください。 [6]:SQLiteを使ってToDoリストアプリを作成(1) [7]:SQLiteを使ってToDoリストアプリを作成(2) [8]:SQLiteを使ってToDoリストアプリを作成(3) …
「[9]:SQLiteを使ってToDoリストアプリを作成(4)」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy