Created
December 9, 2015 17:38
-
-
Save mmuszynski/4ef3465903a975cd6a26 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AppDelegate: NSObject, NSApplicationDelegate { | |
let menu = NSMenu() | |
var statusItem: NSStatusItem! | |
var settingsWindowController = NSWindowController(windowNibName: "ControlPanelWindowController") | |
func openSettingsWindow() { | |
settingsWindowController.showWindow(self) | |
settingsWindowController.window?.orderFront(self) | |
} | |
} | |
class ControlPanelWindowController: NSWindowController { | |
@IBOutlet weak var bulbColorPopUp: NSPopUpButton! | |
} | |
2015-12-09 12:36:43.872 XmasLights[1195:16669] Failed to connect (bulbColorPopUp) outlet from (NSWindowController) to (NSPopUpButton): missing setter or instance variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment