OSDN Git Service

#if の設定が間違えていたので修正
authormasakih <masakih@users.sourceforge.jp>
Tue, 18 Mar 2014 15:17:25 +0000 (00:17 +0900)
committermasakih <masakih@users.sourceforge.jp>
Tue, 18 Mar 2014 15:17:25 +0000 (00:17 +0900)
KCD/HMCoreDataManager.m

index 2832754..9647cf0 100644 (file)
@@ -116,11 +116,11 @@ static NSManagedObjectModel *_managedObjectModel = nil;
         }
     }
 #if COREDATA_STORE_TYPE == 0
-    NSURL *url = [applicationFilesDirectory URLByAppendingPathComponent:@"KCD.storedata.xml"];
-       NSString *storeType = NSXMLStoreType;
-#else
        NSURL *url = [applicationFilesDirectory URLByAppendingPathComponent:@"KCD.storedata"];
        NSString *storeType = NSSQLiteStoreType;
+#else
+       NSURL *url = [applicationFilesDirectory URLByAppendingPathComponent:@"KCD.storedata.xml"];
+       NSString *storeType = NSXMLStoreType;
 #endif
        NSDictionary *options = @{
                                                          NSMigratePersistentStoresAutomaticallyOption : @YES,