Notes icon indicating copy to clipboard operation
Notes copied to clipboard

context is not saved in NoteViewController.swift

Open zweef opened this issue 8 years ago • 0 comments

func func save(_ sender: Any) does not save the context.

this might fix it: do { try note?.managedObjectContext?.save() } catch { let saveError = error as NSError print("Unable to Save Note") print("(saveError), (saveError.localizedDescription)") }

zweef avatar Dec 14 '17 21:12 zweef