This commit is contained in:
John Rommel Estropia
2016-07-21 02:45:42 +09:00
parent 267c21063a
commit a638620858
85 changed files with 1621 additions and 1819 deletions

View File

@@ -95,7 +95,7 @@ public final class CSError: NSError, CoreStoreObjectiveCType {
case .unknownError:
return .unknown
case .differentPersistentStoreExistsAtURL:
case .differentStorageExistsAtURL:
guard case let existingPersistentStoreURL as URL = info["existingPersistentStoreURL"] else {
return .unknown
@@ -148,7 +148,7 @@ public final class CSError: NSError, CoreStoreObjectiveCType {
info = [:]
case .differentStorageExistsAtURL(let existingPersistentStoreURL):
code = .differentPersistentStoreExistsAtURL
code = .differentStorageExistsAtURL
info = [
"existingPersistentStoreURL": existingPersistentStoreURL
]
@@ -208,7 +208,7 @@ public enum CSErrorCode: Int {
/**
The `NSPersistentStore` could note be initialized because another store existed at the specified `NSURL`.
*/
case differentPersistentStoreExistsAtURL
case differentStorageExistsAtURL
/**
An `NSMappingModel` could not be found for a specific source and destination model versions.