When you delete the code associated with the button, it might give an error after running because u haven’t removed the action from the button to remove that click on button and then right click and select the action you want to remove
To create a new view controller cmd + shift + L then select view controller
and then click on folder select new then create a cocoa touch class
now to connect the view controller to the class you made using the cocoa touch class
select view controller, then select identity tab from inspection area (left most section). and then select class and set it to what you’ve named your class.
cmd + shift + L to add items to view controller
An item should at least have 4 constraints.
cmd + drag your mouse to next view controller to add transitions.