minor changes before Swift 2.0

This commit is contained in:
John Rommel Estropia committed 2015-07-03 00:22:21 +09:00
1 parent 91444b6dd3
commit 261c3a6001
5 files changed
+39 -22

No files matched your search

+4 -1
View File
@@ -57,7 +57,10 @@ public final class DataStack {
modelName,
ofType: "momd"
)
CoreStore.assert(modelFilePath != nil, "Could not find a \"momd\" resource from the main bundle.")
CoreStore.assert(
modelFilePath != nil,
"Could not find a \"momd\" resource from the main bundle."
)
let managedObjectModel: NSManagedObjectModel! = NSManagedObjectModel(contentsOfURL: NSURL(fileURLWithPath: modelFilePath)!)
CoreStore.assert(