pinkstone.co.uk
How to switch root view controllers in Swift
Here’s how to switch root view controllers in Swift. It comes in handy when you want to instantiate a view controller from your storyboard and display it at arbitrary points in your app. Imag…