macOS, Swift 3: How to get data back after segue?
问题 For example: I have two UIViewController s. The first has a button and a NSTextField , and the second has a NSTextField only. When I click the button on the first controller — the second controller shows as popover window. Making a transfer of some data from first controller to second is not big deal — I use a segue. But what I should to do to transfer data back — from the popover window to main window? For example: we open the popover window, type some text in NSTextField , and I want to get