macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

initWithPersistentStoreCoordinator:configurationName:URL:options:

**

-(id)initWithPersistentStoreCoordinator:(NSPersistentStoreCoordinator *)root:
                    configurationName:(NSString *)name:
                    URL:(NSURL *)url:
                    options:(NSDictionary *)options:

解説

与えられた引数で初期化されたストアを返します。
初期化と一緒にsetMetadata:を使ってメタデータのロードを保証しなければならない

返り値

( id )

引数

( NSPersistentStoreCoordinator * )root
( NSString * )name
( NSURL * )url
( NSDictionary * )options

クラス

NSObjectStore

使用可能

10.5

参照

例文