Is there any good tutorial that shows how to create a UI like the one on iPhone\'s calculator? It looks to me that it has two different views in the same initial ViewController
As dfd said in comment, you should watch WWDC presentation https://developer.apple.com/videos/play/wwdc2016/222/. After that you can check that topic: https://stackoverflow.com/a/10533561/1189244