I am trying to convert 2 textfields to ints and then add them together. I would also like to print the sum in the log.
let jake = t3.text! + t4.text!
I am trying to convert 2 textfields to ints and then add them together. I would also like to print the sum in the log.
let jake = t3.text! + t4.text!
Try this:
Convert text into Int in Swift and an addition like we can do...
Hope this helps!