I know, on YouTube a lot of videos about how to Passing Data Between View Controllers like that. But that is not what I need. I'm new on this website and in Xcode. I didn't find answer on my question here. My App move from VCA to VCB with a segue. I need pass Calculated Value from ViewControllerA.swift to ViewControllerB.swift Example of my code in ViewControllerA.swift
let weight = Double(textField.text!)
let calculatedValueA = weight! * 2
let calculatedValueB = weight! * 3
let calculatedValueC = weight! * 4
In ViewControllerB.swift in override func viewDidLoad() will see results like that I guess
calValueA.text = String(format: "%4.0f", calculatedValueA)
calValueB.text = String(format: "%4.0f", calculatedValueB)
calValueC.text = String(format: "%4.0f", calculatedValueC)