Q:

How do I programmatically pull up a different storyboard when a button is clicked in Swift 4? 

Here is my code so far 
joinButton.addTarget(self, action: #selector(buttonAction), for: .touchUpInside)
}
 @objc func buttonAction(_sender: UIButton) {
    print("I want to go to a storyboard here")
 }

I have everything coded (never used storyboard), but now I want to actually manually play with the UI now.  How can I manually play with the storyboard?  Or even render out to a different viewcontroller?  Thanks! 

A:

You can do it programatically this way:
Swift 3+
   let storyboard = UIStoryboard(name: "StoryboardName", bundle: nil)
   let vc = storyboard.instantiateViewController(withIdentifier: "ViewControllerID") as UIViewController
   present(vc, animated: true, completion: nil)

