macOS/iOS API解説

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

目次

performDragOperation:

ドロップ処理ができるかを返します
-(BOOL)performDragOperation:(id <NSDraggingInfo>)sender:

解説

ドロップ処理ができるかを返します。

返り値

( BOOL )

YES/NO

引数

( id <NSDraggingInfo> )sender

フレームワーク

ApplicationKit

クラス

NSDraggingDestination

Instance Methods

使用可能

10.0

参照

- concludeDragOperation:

例文

-(BOOL)performDragOperation:(id<NSDraggingInfo>)sender
{
NSLog(@"performDragOperation");
//NSLog([sender className]);
return YES;
}