Errors here from not having access to selectedNote. From prev step I had declared it within the UITableViewDelegate extension, so that should be clarified better.
Additionally these lines should probably just be added in a commented out state so that folks can still build in the following step to see if their ScrollView etc setup works correctly.
case "Delete":
realm.write() {
realm.delete(self.selectedNote!)
}
let source = segue.sourceViewController as! NoteDisplayViewController
source.note = nil;
Errors here from not having access to selectedNote. From prev step I had declared it within the
UITableViewDelegateextension, so that should be clarified better.Additionally these lines should probably just be added in a commented out state so that folks can still build in the following step to see if their ScrollView etc setup works correctly.