minor changes before Swift 2.0

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

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(