Made naive implementation of af dismissFunction that updates the stack, create RouterViewProtocol instead of relying directly on UIViewController
This was forked 17 commits ago, so much of it might be redundant. But I wanted to setup the pull request so you could look at and discuss some of the solutions.
The main points are:
RouterViewProtocol - which is a protocol that abstracts away uiviewcontrollers from the inner workings of the framework. You might have already solved this (I did the code offline on the plane)
dismissFunction - showing how the back function can be made to update the stack. The way it's implemented is way too imperative - and I still question whether the functionality should be used. But it shows how it can be done at least :)
Made naive implementation of af dismissFunction that updates the stack, create RouterViewProtocol instead of relying directly on UIViewController
This was forked 17 commits ago, so much of it might be redundant. But I wanted to setup the pull request so you could look at and discuss some of the solutions.
The main points are:
RouterViewProtocol - which is a protocol that abstracts away uiviewcontrollers from the inner workings of the framework. You might have already solved this (I did the code offline on the plane)
dismissFunction - showing how the back function can be made to update the stack. The way it's implemented is way too imperative - and I still question whether the functionality should be used. But it shows how it can be done at least :)