XCode7 beta 6 updates

This commit is contained in:
John Estropia
2015-08-25 14:24:18 +09:00
parent 2bcf8008c5
commit 69f902ef20
7 changed files with 13 additions and 20 deletions

View File

@@ -436,7 +436,7 @@ public extension DataStack {
let migrationOperation = NSBlockOperation()
migrationOperation.qualityOfService = .Utility
operations.map { migrationOperation.addDependency($0) }
operations.forEach { migrationOperation.addDependency($0) }
migrationOperation.addExecutionBlock { () -> Void in
GCDQueue.Main.async {

View File

@@ -237,9 +237,9 @@ extension MigrationChain: CustomDebugStringConvertible {
steps.append(nextVersion)
version = nextVersion
}
paths.append("".join(steps))
paths.append(steps.joinWithSeparator(""))
}
return "[" + "], [".join(paths) + "]"
return "[" + paths.joinWithSeparator("], [") + "]"
}
}