Update UIlable automatically : I'm trying to update an UILable based on the numbers inserted in an UITextField.

UITextField, lets say 45 was inserted

A function that does (45 * 2)

UILable will now becomes 90

I am having trouble exporting values from the function and updating the UILable.

Thanks for the help