Clean up ViewController slightly

This commit is contained in:
Matt Baer 2017-07-31 19:22:01 -04:00
parent 0e2e48802a
commit 5adfab9b07

View File

@ -68,7 +68,7 @@ class ViewController: NSViewController, NSTextViewDelegate, NSUserNotificationCe
//writing
do {
try writerText.textStorage!.string.write(to: path!, atomically: false, encoding: .utf8)// .write(toFile: path.absoluteString, atomically: true, encoding: .utf8)
try writerText.textStorage!.string.write(to: path!, atomically: false, encoding: .utf8)
} catch (let err) {
print("ERROR writing: \(err)")
}