swift - how to go to another view controller during pressing the button. I don't have storyboard. Pragmatically : i have a button which is located on superview

 let buttonSignUp = UIButton()

 self.view.addSubview(buttonSignUp)

When I press this button I want to go to another view controller scene