<< 00-Checkpoint | 02-Challenge Day >>
Form, Section, NavigationView, @State, @FocusState, TextField, Picker, ForEach
- Add a header to the third section, saying “Amount per person”
- Add another section showing the total amount for the check – i.e., the original amount plus tip value, without dividing by the number of people.
- Change the tip percentage picker to show a new screen rather than using a segmented control, and give it a wider range of options – everything from 0% to 100%. Tip: use the range
0..<101
for your range rather than a fixed array.