setAllowedFileTypes:
適用されるファイルタイプを配列でセットします
-(void)setAllowedFileTypes:(NSArray *)types:
解説
適用されるファイルタイプを配列でセットします。
返り値
( void )
なし
引数
( NSArray * )types
フレームワーク
ApplicationKit
クラス
NSSavePanel
Instance Methods
使用可能
10.3
参照
-allowedFileTypes
-setRequiredFileType:
例文
[spanel setAllowedFileTypes:[NSArray arrayWithObjects:@"rtfd",nil]]; NSLog([[spanel allowedFileTypes]description]);