// Copyright © 2021 Tokenary. All rights reserved. import UIKit enum Storyboard: String { case main } func instantiate(_ type: ViewController.Type, from storyboard: Storyboard) -> ViewController { return UIStoryboard(name: storyboard.rawValue.withFirstLetterCapitalized, bundle: nil).instantiateViewController(withIdentifier: String(describing: type)) as! ViewController }