title: How to call different Storyboards via Swift for iOS?
body: <p>I created an app with three different Storyboards for each iOS device family. Now I don't know how to choose the right Storyboard when the app starts? I am checking the screen height to recognize the different devices:</p>
  
  <pre><code>func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -&gt; Bool {
      // Check Device Family
      var bounds: CGRect = UIScreen.mainScreen().bounds
      var screenHeight: NSNumber = bounds.size.height
      var deviceFamily: String
      if screenHeight == 480 {
          deviceFamily = "iPhoneOriginal"
          // Load Storyboard with name: iPhone4
      } else if screenHeight == 568 {
          deviceFamily = "iPhone5Higher"
          // Load Storyboard with name: iPhone5
      } else {
          deviceFamily = "iPad"
          // Load Storyboard with name: iPad
      }
  
      return true
  }
  </code></pre>
  
  <p>Can somebody give me a working solution in Swift? I only found solutions for ObjC.</p>
  
  <p>Thanks.</p>