Skip to content

shubik22/tipcalculator

Repository files navigation

Tippr

This is a basic tipping calculator application I built as part of my application to Codepath. It calculates a tip amount and total bill amount (including tip) given a base bill amount and tip percentage. It also allows you to set custom tip percentage defaults or round your tip amounts. Given more time, I would add animations between views, better incorporate the custom keypad into the main view, split the bill amount between multiple people, finish adding unit tests, and add integration tests.

(Also, as you might be able to tell, design isn't my strongest suit, although I love working with talented designers; it'd also be nice to make it look better too.)

I probably spent 10 hours working on this, although I wasn't keeping track.

Required Stories:

  • Basic tip calculator
  • Custom tip percentages

Additional Stories:

  • Rounding option for tip amount
  • Custom keyboard for bill amount
  • Bill amount and tip percentages saved in NSUserDefaults
  • Clear/reset buttons
  • Unit tests for main ViewController

walkthrough

The MIT License (MIT)

Copyright (c) 2014 Sam Sweeney

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Calculate your tips!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published