UITableViewDelegateプロトコル
テーブルビューのデリゲート
準拠 | NSObject |
UIScrollViewDelegate | |
フレームワーク | /System/Library/Frameworks/UIKit.framework |
使用可能 | iOS2.0 |
定義 | UITableView.h |
概要
参照
メソッドとプロパティ
Table Viewにテーブルセルを供給
– tableView:heightForRowAtIndexPath:
– tableView:indentationLevelForRowAtIndexPath:
– tableView:willDisplayCell:forRowAtIndexPath
アクセサリビューの管理
– tableView:accessoryButtonTappedForRowWithIndexPath
- tableView:accessoryTypeForRowWithIndexPath iOS 3.0で非推奨
選択の管理
– tableView:willSelectRowAtIndexPath:
– tableView:didSelectRowAtIndexPath:
- tableView:willDeselectRowAtIndexPath:
- tableView:didDeselectRowAtIndexPath:
ヘッダやフッタセクションの修正
- tableView:viewForHeaderInSection:
- tableView:viewForFooterInSection:
- tableView:heightForHeaderInSection:
- tableView:heightForFooterInSection