A sample code on how to implement generic view controller and use it with UIStoryboardSegue. A detail explanation of solution available by the link.
This code potentially may grow into a framework. To do so all key controllers should be extended with
MutableModelContainerProtocol. PRs are welcomed.
GenericMVC is available under the MIT license. See the LICENSE file for more info.