so maybe this is so easy and I'm being dense but..
I'm trying to open a view controller that is displayed on my main.storyboard programatically from my MenuBarController. The View Controller doesn't have any segues attached to it but I have given the view controller a storyboard ID of Test.
This is for OS X so apologies I'm new to the storyboard and Segue features.
I've been trying this:
let storyBoard = NSStoryboard(name: "Main", bundle: nil)! as NSStoryboard
let myViewController = storyBoard.instantiateControllerWithIdentifier("test") as NSViewController
self.presentViewControllerAsModalWindow(myViewController)
But receive an error:
[NSNib initWithNibNamed:bundle:] could not load the nibName: TestApp.MenuBarController in bundle (null).