Unwind Your Segue | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/16124941-uikit-fundamentals/lessons/17

How does the StoryPromtViewcontroller in storyboard get a pop-up for the IBAction function saveStoryPrompt(unwindSegue: ) when dragging and dropping from β€œsave” button to the β€œexit” dock item? The saveStoryPrompt(unwindSegue: ) is defined in StoryPromptTableViewController and not StoryPromptViewController. Thanks in advance!

Do you have any thoughts on when to use an unwind as opposed to dismiss? Just wondering when I would you unwind.