UITableViewDataSource
INDEX>UIKit 準拠 NSObject フレームワーク /System/Library/Frameworks/UIKit.framework 使用可能 iPhoneOS2.0 定義 UITableView.h 概要 フレームワーク UIKit 参照 タスク テーブルビューの設定 – tableView:cellForRowAtIndexPath 必須メソッド – numberO…
セクションのヘッダタイトルを返します。 -(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section 解説 セクションのヘッダタイトルを返します。 返り値 ( NSString * ) 引数 ( UITableView * )tableView ( NSInteger…
テーブルビューのセクションのフッタタイトルを返します。 -(NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section 解説 テーブルビューのセクションのフッタタイトルを返します。 返り値 ( NSString * ) 引数 ( UITa…
INDEX>UIKit>UITableViewDataSource テーブルビューの右側のインデックスリストを選択した際に呼び出されます。 -(NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index 【限定品】プログ…
INDEX>UIKit>UITableViewDataSource それぞれのセクションに項目がどれくらいあるのかを返します。 -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 解説 それぞれのセクションに項目がどれくらいあるのかを返し…
テーブルビューで移動できるかどうか -(void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath 解説 (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPa…
テーブルビューの編集が完了する前に呼び出されます。 -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath 解説 編集を確定しない場合はNOを返します。 …
INDEX>UIKit>UITableViewDataSource テーブルに表示するセルを返します。 -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 解説 返り値 ( UITableViewCell * ) 引数 ( UITableView * )tableView ( …
セルが移動可能かどうか -(BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath 解説 (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:( *)indexPath 返り値 ( BOOL ) 引数 ( UITableView * )tableVi…
編集可能かどうか。表示されきったときに呼び出される。 -(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath 解説 編集可能かどうか。表示されきったときに呼び出される。 返り値 ( BOOL ) 引数 ( UITableView * )t…
テーブルビューの右側に表示されるインデックスリストの実装 -(NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView 解説 テーブルビューの右側に表示されるインデックスリストの実装インデックスリストを触った場合 tableView:sectionForSe…
INDEX>UIKit>UITableViewDataSource テーブルビューのセクションがいくつあるかを返します。 -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 解説 テーブルビューのセクションがいくつあるかを返します。 返り値 ( NSInteger ) テーブル…