Browse Source

Clean up ViewController slightly

master
Matt Baer 4 years ago
parent
commit
5adfab9b07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      writeas/ViewController.swift

+ 1
- 1
writeas/ViewController.swift 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)")
}


Loading…
Cancel
Save