/Tipper

Tip Calculator

Primary LanguageObjective-C

Tipper

A Tip Calculator. Calculate the tip. The default rates are 15%, 18%, 20%. The total amount can be rounded up, rounded down or no rounding. Display the amount divided by 2, 3, and 4 people.

Time spent: 12 hours spent in total

Completed user stories:

  • Required: Creating the Tip Calculator.
  • Required: Adding Tip Calculator Settings Page.
  • Optional: Remember the bill amount across app restarts. After an extended period of time, clear the state.
  • Optional: Use locale specific currency and currency thousands separators.

Additional user stories:

  • Additional: Round the amount. Set rounding mode. User can set no rounding, rounding up, and rounding down in Settings page.
  • Additional: Add a "Feel Awesome" Button. By clicking that, it will randomly generate a tip rate between 20% and 30%.
  • Additional: Add a new new to show the amount divided by 2, 3, and 4 people. It will disappear when user enters and appear when user finishes entering.

Walkthrough of all user stories:

Video Walkthrough

In the demo, the amount will be cleared after entering foreground from background. That is for demo use and the real cycle is set to 10 minutes. That means after staying in background for more than 10 minutes, it will be cleared. If less than 10 minutes, it will keep the last amount.

GIF created with LiceCap.

Acknowledge

This app leverages two third-party libraries: