2007/10/31 水曜日

ちょっとずつながらも

カテゴリー: ipod touch — ryu @ 1:01:26

cp1030

と、チェックボックスをインデントしたり行順序入れ替えられるようにしたり。

入れ替え開始には、UITable, UITableCell で、
[table setAllowsReordering:YES];
[[table cellAtRow:selectedRow column:0] setEnableReordering:YES animated:YES];
して終了は逆。

- (void) table:(UITable *)target movedRow:(int)row toRow:(int)toRow
- (int) table:(UITable *) table moveDestinationForRow:(int)row withSuggestedDestinationRow:(int) suggestedRow

辺のdelegateを実装すればOK。

次は挿入、削除を何とかしたいのだが。はたして。

609 件のコメント

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

このコメント欄の RSS フィード トラックバック URL

コメントフォームは現在閉鎖中です。

37 queries. HTML convert time: 0.248 sec. Powered by WordPress 2.8