Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Day 18: Project 1: WeSplit, Part Three

Follow along at https://www.hackingwithswift.com/100/swiftui/18.

📒 Field Notes

This day covers Part Three of Project 1: WeSplit in the 100 Days of SwiftUI Challenge. (Project files can be found in the directory for Part One.)

In addition to recapping the material covered during the project's other days, Day 18 focuses on extending the project according to a set of challenges.

🥅 Challenges

Challenge 1

Add a header to the third section, saying "Amount per person."

I sort of got up to this already with a "Your Split" section -- but this was an opportunity to sync that up with the navbar appearance.

Challenge 2

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.

This actually goes nicely as a footer in the same section that lists the final split.

Challenge 3

Change the “Number of people” picker to be a text field, making sure to use the correct keyboard type.

📸 Screenshots