あれとこれのコンバータ
Revision | 658bdffc4d203b1b3f3c68292026fdda5b6eb980 (tree) |
---|---|
Zeit | 2011-11-29 20:56:50 |
Autor | masakih <masakih@user...> |
Commiter | masakih |
データベースファイルの場所を間違えていたので修正。
@@ -124,7 +124,8 @@ static BSCoreDataManager *defaultManager; | ||
124 | 124 | // |
125 | 125 | // return url; |
126 | 126 | |
127 | - return [BSDCAppDelegate bathyScapheSupportFolderURL]; | |
127 | + NSString *fpath = [BSDCAppDelegate bathyScapheSupportFolderPath]; | |
128 | + return [NSURL fileURLWithPath:[fpath stringByAppendingPathComponent:@"BathyScaphe.qdb"]]; | |
128 | 129 | } |
129 | 130 | |
130 | 131 | /** |
@@ -235,7 +235,8 @@ abort: | ||
235 | 235 | { |
236 | 236 | // return [[CMRFileManager defaultManager] supportFilepathWithName : @"BathyScaphe.db" |
237 | 237 | // resolvingFileRef : nil]; |
238 | - return [BSDCAppDelegate bathyScapheSupportFolderPath]; | |
238 | + NSString *fpath = [BSDCAppDelegate bathyScapheSupportFolderPath]; | |
239 | + return [fpath stringByAppendingPathComponent:@"BathyScaphe.db.new"]; | |
239 | 240 | } |
240 | 241 | |
241 | 242 | - (SQLiteDB *) databaseForCurrentThread |