Hello
for some textfield, I need to show a NSViewController through a popover, when this textfield becomes firstResponder.
My problem is that the viewController displays twice: once as an independant window and once in the popover.
I feel it's because I create the view using:
let wc = helpViewController()
and later:
myPopover.contentViewController = wc
So I've tried this:
let popoverViewController = storyboard?.instantiateController(withIdentifier: "helpViewController")
and
myPopover.contentViewController = popoverViewController
but ly application crashes on the nstantiateController. I can't find helpViewController.
Hoping i have told clearly about my problem, could you help me?