I'm coding an app for mac os (NOT ios) in Swift/xcode8. There are two NSViewControllers, Parent and Child (Child is called modally). What swift code is needed in both view controllers to segue or return from Child to Parent?
I have spent a good bit of time in the last several days searching the web for a solution (unwind, segue back, return). 99% of answers are for ios, and I can't find anything that will work.
I coded "@IBAction func unwindToViewController(sender: Any) {}" in Parent and can trigger it from a button in Child. Is my Paren action correct, and what do I need for code in Chile?