macOS, Swift, User Interface: Storyboard
I have two pages: ViewController and Preferences. I have a button on the Preferences window and I want to trigger an action on the ViewController window. How can I do that?
The button is in Preferences window and the action should be in the ViewController window.
(In storyboard, If I open the Assistant Editor I get Preferences.swift. I cannot make the regular connection with the control drag)
I have two pages: ViewController and Preferences. I have a button on the Preferences window and I want to trigger an action on the ViewController window. How can I do that?
The button is in Preferences window and the action should be in the ViewController window.
(In storyboard, If I open the Assistant Editor I get Preferences.swift. I cannot make the regular connection with the control drag)