documentClassForType:
文書タイプでドキュメントクラスを返します
-(Class)documentClassForType:(NSString *)docType:
解説
文書タイプでドキュメントクラスを返します。
返り値
( Class )
クラス
引数
( NSString * )docType
文書タイプ
フレームワーク
ApplicationKit
クラス
NSDocumentController
Instance Methods
使用可能
10.0
参照
- displayNameForType:
- fileExtensionsFromType:
- typeFromFileExtension:
例文
NSLog([[dController1 documentClassForType:@"txt"] className]);