When you want to transition from one view controller to another, you can hold down the control key and click a button, table view cell, or any other object from one view controller, and then drag it to the new view controller for a different scene. This technique of dragging between view controllers creates, what is known as a segue.
A segue is a configurable object that supports all of the same types of transitions made available to you within the
UIKit class reference, such as modal transitions and navigation transitions.
You also have the ability to define custom transitions that replace one view controller with another.
In order to see how this can be achieved, we need to modify our TwitterExample ...