macOS/iOS API解説

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

目次

tableView:commitEditingStyle:forRowAtIndexPath:

テーブルビューの編集が完了する前に呼び出されます。
-(void)tableView:(UITableView *)tableView
                commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
                forRowAtIndexPath:(NSIndexPath *)indexPath

解説

編集を確定しない場合はNOを返します。

- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath

返り値

( void )

引数

( UITableView * )tableView
( UITableViewCellEditingStyle )editingStyle
( NSIndexPath * )indexPath

クラス

UITableViewDataSource

Instance Methods

使用可能

iPhone2.0

参照

例文