how the another view is displayed when user clicks on restaurant name in swiggy swift stackoverflow code example
Example: swift push view controller programmatically
let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)
let nextViewController = storyBoard.instantiateViewController(withIdentifier: "nextView") as! NextViewController
self.present(nextViewController, animated:true, completion:nil)