Clean up ViewController slightly
This commit is contained in:
parent
0e2e48802a
commit
5adfab9b07
@ -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…
Reference in New Issue
Block a user