This iOS app helps you do math for tips. It's also the pre-assignment requirement for CodePath.
Time spent: 10 hours
Completed by xke:
-
Required: User can enter a bill amount, choose a tip percentage, and see the tip and total values.
-
Required: Settings page to change the default tip percentage.
-
Optional: Making sure the keyboard is always visible and the bill amount is always the first responder. This way the user doesn't have to tap anywhere to use this app. Just launch the app and start typing.
-
Bonus: Sliders for easier input of tip percentage
-
Bonus: Quick way to split the total bill
-
Bonus: Autolayout to center elements on larger-width screens
-
Bonus: Setting to make keyboard always visible, or not
-
Bonus: App icons (with help from makeappicons.com)
Video walkthrough (captured with licecap):
Notes:
- Tested on simulator for iPhone 4, 5, 6, and iPad in portrait (vertical) mode.
- Landscape (horizontal) mode is currently disabled, since bottom elements will otherwise cut off from screen. Will need to learn about how to correctly integrate ScrollView to be able to support landscape mode.