This is a Tip Calculator application for iOS submitted as the pre-assignment requirement for CodePath.
Time spent: 8 hours
Completed:
- 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: UI animations
- Optional: Remembering the bill amount across app restarts (if <10mins)
- Optional: Using locale-specific currency and currency thousands separators.
- 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.
-
Download Xcode from the Mac App Store, requires OS X 10.9.4+.
-
Clone this repo
$ git clone https://github.com/gwongz/tip-calculator.git
-
Open the
tipCalculator.xcodeproj
project in XCode. -
To launch the app in the simulator, go to Project -> Run or hit Command-R.
Note: This app does not use auto layout and is designed for an iPhone 6.
GIF created with LiceCap.