I am currently furiously digging through all the docs, and haven\'t quite found what I\'m looking for. I suspect it is a real d\'oh! answer.
I simply need to find th
In Swift, you'd use the following syntax:
let storyboard = UIStoryboard(name: "Main", bundle: nil)
Note that passing nil to bundle will make the call refer to your main bundle automatically.
If you're in a view controller that you have on the Storyboard and want to instantiate the Storyboard from there directly, you can just do:
let storyboard: UIStoryboard? = self.storyboard // call this inside a VC that is on the Storyboard
Note that in the last case, self.storyboard will return an optional Storyboard (Storyboard?), so if you'd like to use it unwrap it like so:
if let storyboard = self.storyboard {
// access storyboard here
}