I'm getting started with macOS development and I'm trying to implement a button which switches to another view controller. I don't want to use a segue for this as it is a login button. I would like to do it the same as iOS where you push the view controller. Is there a similar method for macOS? Can't seem to find anything that helps.
Thanks