macOS/iOS API解説

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

目次

tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:

dropDestinationでドラッグされた行のindexSetで表現されるファイル名の配列を返します
-(NSArray *)tableView:(NSTableView *)tv:
                namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination:
                forDraggedRowsWithIndexes:(NSIndexSet *)indexSet:

解説

dropDestinationでドラッグされた行のindexSetで表現されるファイル名の配列を返します。

返り値

( NSArray * )

なし

引数

( NSTableView * )tv
( NSURL * )dropDestination
( NSIndexSet * )indexSet

フレームワーク

ApplicationKit

クラス

NSTableDataSource

Instance Methods

使用可能

10.4

参照

例文