stringForType:
ペーストボードから指定したタイプの文字を返します
-(NSString *)stringForType:(NSString *)dataType:
解説
ペーストボードから指定したタイプの文字を返します。
【dataType】
返り値
( NSString * )
文字列
引数
( NSString * )dataType
データタイプ
フレームワーク
ApplicationKit
クラス
NSPasteboard
Instance Methods
使用可能
10.0
参照
例文
//指定タイプの文字列を返す
NSLog([pasteBoard stringForType: NSStringPboardType]);