persistentStoreTypeForFileType:
ファイルタイプに関連した永続ストアのタイプを返します
-(NSString *)persistentStoreTypeForFileType:(NSString *)fileType:
解説
ファイルタイプに関連した永続ストアのタイプを返します。
返り値
( NSString * )
なし
引数
( NSString * )fileType
フレームワーク
ApplicationKit
クラス
NSPersistentDocument
Instance Methods
使用可能
10.4
参照
-configurePersistentStoreCoordinator:forURL:ofType:error:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSLog([myPersistentDocument persistentStoreTypeForFileType:@"binary"]); } @end