I can't get unwind segue to work with the latest Xcode 8.1
GM. I'm just wondering if I'm the only one, or someone else is experiencing the same. I have set up the view-controllers as before, it worked in Xcode
8.0, but now I'm having no luck. Tried to clean and so on, but nothing helps. I would like someone else could test it as well before I file a radar...
The view controller
that first instantiated the view controller
is having the following code:
@IBAction func unwindToSettingsTableViewController(_ segue: UIStoryboardSegue) {
print("unwind")
}
I also tried without the underscore, but that did not help.
When setting up this, one should be able to ctrl
drag from files owner to exit, and get up the unwind segues:
So either am I doing it completely wrong (I dont think so, it worked perfectly fine before), or there is a bug in
Xcode 8.1
I tried to do the same in a new project, and then it worked properly. So I guess there is something wrong with my project or storyboard file.
Update
Since the storyboards are holding rather small scenes, I just deleted it, and recreated it again, using the same classes for the view controllers and so on. And now it works. So having exactly the same code, but a fresh storyboard, makes me think it is some bug.