In Swift, how do I guard against calling storyboard.instantiateViewControllerWithIdentifier
on an identifier that's not valid?
Most solutions I have seen on SO uses try...catch in Objective-C, but the solution does not work in Swift because instantiateViewControllerWithIdentifier
does not throw.