Here is a screenshot from Xcode 8.2:
If the function does not exist, how do you add identifier to a view controller these days?
Use instead instantiateViewController(withIdentifier:) when you would like a ViewController and attach a view from the storyboard (UIStoryboard Id Identifier)
instantiateInitialViewController() is to instantiate the default view initial, this function takes no argument and is something you wouldn't usually do programmatically.
func instantiateInitialViewController() use instantiateViewController insteadlet sb = UIStoryboard(name: "", bundle: Bundle.main) sb.instantiateViewController(withIdentifier: "blue")
func instantiateViewController(withIdentifier identifier: String) -> UIViewController. Note that theinitialViewControllerdon't need to have a identifier to be called (func instantiateInitialViewController() -> UIViewController?).