 
 }
 
-
 //MARK: - ScreenTwoViewController
 
-extension ScreenTwoViewController {
-    override class var storyboardIdentifier:String? { return "ScreenTwoViewController" }
-    class func instantiateFromStoryboard(storyboard: Storyboards) -> ScreenTwoViewController! {
-        return storyboard.instantiateViewControllerWithIdentifier(self.storyboardIdentifier!) as? ScreenTwoViewController
-    }
-}
-
-
 //MARK: - ScreenOneViewController
-
-extension ScreenOneViewController {
-    override class var storyboardIdentifier:String? { return "ScreenOneViewController" }
-    class func instantiateFromStoryboard(storyboard: Storyboards) -> ScreenOneViewController! {
-        return storyboard.instantiateViewControllerWithIdentifier(self.storyboardIdentifier!) as? ScreenOneViewController
-    }
-}
-

extension UIStoryboardSegue: SegueProtocol {
}

extension UIStoryboardSegue {
    func selection() -> MainViewController.Segue? {
        if let identifier = self.identifier {
            return MainViewController.Segue(rawValue: identifier)
        }
        return nil
    }
}

//MARK: - MainViewController

extension MainViewController {
    override class var storyboardIdentifier:String? { return "MainViewController" }
    class func instantiateFromStoryboard(storyboard: Storyboards) -> MainViewController! {
        return storyboard.instantiateViewControllerWithIdentifier(self.storyboardIdentifier!) as? MainViewController
    }
}


import UIKit

//MARK: - Storyboards
struct Storyboards {

    struct Main {

        static let identifier = "Main"

        static var storyboard:UIStoryboard {
            return UIStoryboard(name: self.identifier, bundle: nil)
        }

        static func instantiateInitialViewController() -> UINavigationController! {
            return self.storyboard.instantiateInitialViewController() as! UINavigationController
        }

        static func instantiateViewControllerWithIdentifier(identifier: String) -> UIViewController {
            return self.storyboard.instantiateViewControllerWithIdentifier(identifier) as! UIViewController
        }

        static func MainViewController() -> MainViewController! {
            return self.storyboard.instantiateViewControllerWithIdentifier("MainViewController") as! MainViewController

        }

        static func ScreenTwoViewController() -> ScreenTwoViewController! {
            return self.storyboard.instantiateViewControllerWithIdentifier("ScreenTwoViewController") as! ScreenTwoViewController

        }

        static func ScreenOneViewController() -> ScreenOneViewController! {
            return self.storyboard.instantiateViewControllerWithIdentifier("ScreenOneViewController") as! ScreenOneViewController

        }
    }
}

