title: Presenting Modal View Controller programmatically in Swift
body: <p>In the main screen of my iOS application I have a table view populated with a list of users from a web service, what I want to do is to show the table, and over it a modal view controller. I have everything set up, but I don't know how to present my "ModalVC" programatically from the main screen, and to do it after the table was populated? The code below is for presenting a normal view controller programmatically. </p>
  
  <pre><code>let vc : AnyObject! = self.storyboard!.instantiateViewControllerWithIdentifier("ModalVC")
  self.showViewController(vc as! UIViewController, sender: vc)
  </code></pre>