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


ピックアップ記事

twitterの登録メールの確認がエラーになる件

2011年01月04日 過去Blog
twitterで登録メールの確認手続きを行っていた際に以下のようなエラーが出ました。 「Hold up! Sorry, the profile you were trying to view has been suspended due to strange activity 」 なにもオカしいことはしていないはずなので、困っていたのですが、原因は単純でした。 twitterのヘルプページに書い…
「twitterの登録メールの確認がエラーになる件」をはてなブックマークに追加

Xcode 4 移行ガイド

2011年03月22日 過去Blog
http://sazameki.jp/translations/xcode4/IDEs/Conceptual/Xcode4TransitionGuide/ atlanta insurance how to loose weight…
「Xcode 4 移行ガイド」をはてなブックマークに追加

iphoneアプリ開発に役立つリンク集

2010年11月19日 過去Blog
iOS Reference Library 日本語に翻訳されたiOSのドキュメントです。 スタンフォードiPhone Application Programming アップルの現役社員による講義(スタンフォード大学の授業)が見られます。 iPhone Application Programming Course (CS 193P) 2010 Winter 講義動画…
「iphoneアプリ開発に役立つリンク集」をはてなブックマークに追加

phpでRSSを取得後の日付表示方法を変更する

2009年12月05日 過去Blog
FC2ブログからRSSを取得すると、日付は以下のようになる。 <dc:date>2009-12-24T00:20:00+09:00</dc:date> このままでは、少しかっこが悪いので、以下のように修正。 $date ="2009-12-05T05:55:00+09:00"; $date = strtotime($date); $date = date('Y/m/d …
「phpでRSSを取得後の日付表示方法を変更する」をはてなブックマークに追加

tabBar + navigationBar + tableView

2011年01月19日 過去Blog
http://www.edumobile.org/iphone/iphone-programming-tutorials/tabbarcontroller-with-navigationcontroller-and-tableview-in-iphone/ http://iphone-app-developer.seesaa.net/article/130194298.html house cl…
「tabBar + navigationBar + tableView」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy