(Swift) Programmatically Segue
Using the code from my previous post on segues, here’s a snippet:
func segueToPublisher () {
let customSegueGoToRightScene = CustomSegueGoToRightScene(identifier: "CustomSegueGoToRightScene", source: self, destination: PublisherViewController())
customSegueGoToRightScene.perform()
}