Hi there! I created a series of tutorials about segues in iOS and navigation between view controllers.

In these step-by-step tutorials, you will learn everything you need to know about segues in iOS and Swift, from the very basics to advanced stuff.

These are the tutorials:

  • The Basics: learn the different types of segues, and how to transition from one view controller to the next by means of them.
  • Define Segues Programmatically: In this tutorial, you will learn how to define segues programmatically, trigger segues in code, and even completely perform modal transitions or modify the view controller stack of a navigation controller.
  • Mimicking an iOS Bootstrap in iOS: Learn how to mimic a bootstrap modal in iOS, thus presenting a modal view controller on top of the previous one with a beautiful overlay effect.
  • The Unwind segue: In this tutorial, you will learn how to go back several view controllers at once, or navigate back to an initial view controller, with just one segue: the Unwind segue.

Hope you’ll find them useful. As always, there is a whole sample project in my Github Repository.