I am replacing my current views in storyboard with xib files. But I encountered an issue about unwind.
In Xib files, I can't create unwind segues. And could not find to regular way to this. When I search on web this issue, I just found about "How to perform unwind segue programmatically." This is not what I wanted. I need a way to perform an unwind operation programmatically.
I found How an Unwind Segue Determines its Destination View Controller in Apple Documentation and thought I can do this programmatically. But, the viewControllerForUnwindSegueAction:fromViewController:withSender: method (now it is forUnwindSegueAction(_:from:withSender:)) is deprecated and new method for this operation(childContaining(_:)) uses an UIStoryboardUnwindSegueSource instance that cannot be initialized programmatically.
So, I can see two option.
- Determine unwind points in app and create operations to do this manually for each of them
- Create an unwind performer object works like Apple's unwind executor but uses it's own methods.
As I see, the second option is better. But, As I said on beginning of my question. I could not find anything in web, It is like just me encountered this situation and I am sure it is not true. I think I search this with wrong keywords and I need some help to solve this. I want to learn somethings before select one of this options:
- Is there a third way to solve this
- How do you(Programmers that does not use storyboard or xib) solve this problem
Here is some of my Google searches

iMike#3049I'd love to help with UIKitPlus - imike