Figure out how to get the text that the user has inputted into the billTextField. Print what gets typed into the textfield when the Calculate button is pressed.
e.g.
HINT: You can dismiss the keyboard by adding calling a method called endEditing(true) on the textfield. Trigger this code when the user taps on one of the tip values like so:
Given that you now have access to the total bill amount, tip percentage and the number of people to split the bill between. Calculate the correct amount that each person should pay (to 2 decimal places) depended on their choices.
E.g. Type 125.50 as the total bill in the billTextField.
Add a 20% tip
Split the bill between 5 people
Press the Calculate button and you should get the value 30.12 printed in the console.
SOLUTION
Check out the solution to this challenge step by cloning the project from the link below:
https://github.com/appbrewery/Tipsy-iOS13-Completed/tree/da9380730864e615f886addf0c921284aa75c7d9