O'Reilly logo
  • Benjamin Melki thinks this is interesting:

To deal with this shortcoming, iOS 6 introduced the unwind segue. An unwind segue does let you express the notion “go back” in a storyboard. It works in an ingenious and rather elaborate way. It has to, because (as I’ve just shown) it can’t possibly work like a normal segue! So how does it work?

Let’s talk first about how you create an unwind segue in the first place. Before you can do that, you must implement an unwind method in the class of any view controller represented in the storyboard. This shoul...


Cover of Programming iOS 8


unwind segue