macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

UITableViewDelegate

UITableViewDelegateプロトコル

INDEX>UIKit> テーブルビューのデリゲート 準拠 NSObject UIScrollViewDelegate フレームワーク /System/Library/Frameworks/UIKit.framework 使用可能 iOS2.0 定義 UITableView.h 概要 参照 メソッドとプロパティ Table Viewにテーブルセルを供給 – tableVi…

tableView:willSelectRowAtIndexPath:

セルを選択しようとしている時に呼び出されます。 -(NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath 駄菓子90点入り アマゾン駄菓子ボックス出版社/メーカー: 自社プランドメディア: その他この商…

tableView:willDisplayCell:forRowAtIndexPath:

セルを表示しようとするときに呼び出されます。 -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath 解説 セルを表示しようとするときに呼び出されます。 セルをカスタマイズ…

tableView:willDeselectRowAtIndexPath:

-(NSIndexPath *)tableView:(UITableView *)tableView willDeselectRowAtIndexPath:(NSIndexPath *)indexPath 解説 (NSIndexPath *)tableView:(UITableView *)tableView willDeselectRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( NSIndexPath * ) 引数…

tableView:willBeginEditingRowAtIndexPath:

編集をしようとするときに呼び出される -(void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath 解説 (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath 返…

tableView:viewForHeaderInSection:

-(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 解説 (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 返り値 ( UIView * ) 引数 ( UITableView * )tableView ( NSInt…

tableView:viewForFooterInSection:

-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section 解説 (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section 返り値 ( UIView * ) 引数 ( UITableView * )tableView ( NSInt…

tableView:titleForDeleteConfirmationButtonForRowAtIndexPath:

削除する時のボタンの表示名 -(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath 解説 (NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRo…

tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:

-(NSIndexPath *)tableView:(UITableView *)tableView targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath 解説 (NSIndexPath *)tableView:(UITableView *)tableVi…

tableView:shouldIndentWhileEditingRowAtIndexPath:

テーブルビューがインデントするか -(BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)indexPath 解説 (BOOL)tableView:(UITableView *)tableView shouldIndentWhileEditingRowAtIndexPath:(NSIndexPath *)…

tableView:indentationLevelForRowAtIndexPath:

-(NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath 解説 (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( NSInteger ) 引…

tableView:heightForRowAtIndexPath:

テーブルビューの高さを返します。 -(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 解説 (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( CGFlo…

tableView:heightForHeaderInSection:

-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section 解説 (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section 返り値 ( CGFloat ) 引数 ( UITableView * )tableView ( NSIn…

tableView:heightForFooterInSection:

-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section 解説 (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section 返り値 ( CGFloat ) 引数 ( UITableView * )tableView ( NSIn…

tableView:editingStyleForRowAtIndexPath:

テーブルにセルを追加できるかどうか -(UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath 解説 (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleFor…

tableView:didSelectRowAtIndexPath:

セルの選択時に呼び出されます。 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 解説 (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( void ) 引数 (…

tableView:didEndEditingRowAtIndexPath:

-(void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath 解説 (void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( void ) 引数 ( UITableView * )tableVi…

tableView:didDeselectRowAtIndexPath:

-(void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath 解説 (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath 返り値 ( void ) 引数 ( UITableView * )tableView (…

tableView:accessoryButtonTappedForRowWithIndexPath:

アクセサリのタップがあったときに呼び出される -(void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath 解説 (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath…