validRequestorForSendType:returnType:
ペーストボードに置くことができるタイプを指定します
-(id)validRequestorForSendType:(NSString *)sendType: returnType:(NSString *)returnType:
解説
ペーストボードに置くことができるタイプを指定します。
返り値
( id )
NSTextView
引数
( NSString * )sendType
送信タイプ
( NSString * )returnType
リターンタイプ
フレームワーク
ApplicationKit
クラス
NSTextView
Instance Methods
使用可能
10.0
参照
- validRequestorForSendType:returnType:(NSResponder)
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { [myOutlet validRequestorForSendType:@"NSStringPboardType" returnType:@"NSStringPboardType"]; } @end