I have 2 view controllers (VC1 & VC2). Both of them are made programmatically without InterfaceBuilder. I'm trying to segue from VC1 to VC2 through code. I know there are methods like:
- performSegue(withIdentifier: String, sender: Any?)
- prepare(for: UIStoryboardSegue, sender: Any?)
But I don't have VC2 identifier and I don't have Storyboard. So how to segue through code? Just 5 days with Swift. Thank you in advance.