NSCreateFileContentsPboardType
ファイル拡張子からペーストボードタイプを返します
NSString * NSCreateFileContentsPboardType ( NSString * fileType );
解説
ファイル拡張子からペーストボードタイプを返します。
返り値
引数
( NSString * )fileType
フレームワーク
ApplicationKit
クラス
NSCreateFileContentsPboardType
Function
使用可能
10.0
参照
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSString *str = @"jpg"; NSLog([NSString stringWithFormat:@"fileType = %@",NSCreateFileContentsPboardType(str)]); } @end