fix warnings on watchOS

This commit is contained in:
John Estropia
2015-10-20 20:54:09 +09:00
parent dc8bdf3bad
commit b00eaf2d0b
2 changed files with 13 additions and 4 deletions

View File

@@ -146,7 +146,8 @@ public extension DataStack {
let metadata = try NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(
NSSQLiteStoreType,
URL: fileURL
URL: fileURL,
options: self.optionsForSQLiteStore()
)
return self.upgradeSQLiteStoreIfNeeded(
@@ -265,7 +266,8 @@ public extension DataStack {
metadata = try NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(
NSSQLiteStoreType,
URL: fileURL
URL: fileURL,
options: self.optionsForSQLiteStore()
)
}
catch {
@@ -323,7 +325,8 @@ public extension DataStack {
metadata = try NSPersistentStoreCoordinator.metadataForPersistentStoreOfType(
NSSQLiteStoreType,
URL: fileURL
URL: fileURL,
options: self.optionsForSQLiteStore()
)
}
catch {