I have one ViewController
.swift file and two View Controller on Main.Storyboard
. Of course there is a Navigation Controller. Both View Controller have a Class: ViewController
.
It all looks something like this
I enter the value in the TextField
, press Enter, there is mathematical calculation and I see the result on the Label
. However, I can see the result in the Label
only if the TextField
and Label
are on the same View Controller.
How do I make it to see the result in the Label on the second View Controller after clicking Next?