I prefer to do the UI programmatically but almost all the tutorials and examples I found so far use storyboards. And those who don't, are just small examples...
<a href="https://github.com/melling/ios_topics/blob/master/README.md" rel="nofollow">https://github.com/melling/ios_topics/blob/master/README.md</a><p>I usually use the first ViewController in Main.storyboard.<p>Here's a no Nib example:<p><a href="https://github.com/melling/ios_topics/tree/master/NoNibAllCodeSwift/NoNibAllCodeSwift" rel="nofollow">https://github.com/melling/ios_topics/tree/master/NoNibAllCo...</a><p>Usually, you'll just have lines like this:<p><pre><code> let vc = ViewController()
self.navigationController?.pushViewController(vc, animated: true)
</code></pre>
Make sure your first controller is embedded in a NavigationController or that push won't work.