Core Dataはアプリにデータを登録する用途として利用するのが一般的だが、あらかじめCore Dataに登録されたデータをマスターデータ的に利用することもできる。
この場合は、アプリのリリース当初からCore Dataにデータをバンドルしておくのが望ましい。
2012年11月26日に執筆した手法では、現時点で実行時にエラーとなりクラッシュしてしまうので、新たな手法を公開する。
http://iphone-app-developer.seesaa.net/article/303905394.html?1409835494
続きを読む
2014年09月04日
[Core Data] NSPersistentStoreCoordinatorで「no visible @interface for 'NSURL' declares the selector stringByAppendingPathComponent」と表示された場合の対処法
AppDelegateのCore Data初期設定処理(NSPersistentStoreCoordinator)で、データモデルのパスを設定する処理でビルド時に「no visible @interface for 'NSURL' declares the selector stringByAppendingPathComponent」と表示された場合の対処法。
続きを読む
続きを読む
2013年11月13日
CoreData: FATAL ERROR: The persistent cache of section information does not match the current configuration
Core Dataアクセス時に
続きを読む
CoreData: FATAL ERROR: The persistent cache of section information does not match the current configuration. You have illegally mutated the NSFetchedResultsController's fetch request, its predicate, or its sort descriptor without either disabling caching or using +deleteCacheWithName:と表示されて、アプリがクラッシュした場合の対処法。
続きを読む
2013年04月13日
2012年11月26日
アプリのリリース時からCore Dataにデータをバンドルしておく方法 [旧版]
Core Dataはアプリにデータを登録する用途として利用するのが一般的だが、あらかじめCore Dataに登録されたデータをマスターデータ的に利用することもできる。
この場合は、アプリのリリース当初からCore Dataにデータをバンドルしておくのが望ましい。
続きを読む
この場合は、アプリのリリース当初からCore Dataにデータをバンドルしておくのが望ましい。
続きを読む

