A Tip Calculator application for iOS (in Swift) submitted as the pre-work requirement for Codepath iOS bootcamp (September '15).
Time spent: 15 hours
- Functionality: ~8 hours
- UI/UX: ~3 hours
- Testing/Bug Fixes: ~4 hours
- Required: User can enter a bill amount, choose a tip percentage, and see the tip and total values.
- Use swipe gestures to adjust the tip % (left swipe to decrease % and right swipe to increase %)
- 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.
- Additional 1: Ability to save a bill amount (using CoreData API) so that it can be referred later. To save a bill amount
- Long press on the the bill total
- Enter a reference such as restaurant name
- Hit 'Ok' (Bills are saved with the locale reference and are displayed in the locale saved they were saved in)
- Additional 2: View saved tip details in a table. To view tip details click any table cell
- Additional 3: User can view split amount for the total bill and also adjust # of split counts
- A user setting for average bill amount per user (this is used in pre-calculating # of shares based on total bill amount)
- Additional 4: Theme options for background color (user can set the default using settings).
- Additional 5: Use CoreLocation and MapKit APIs for:
- Show current city and state to the user in main view (CoreLocation)
- In tip history detail view, show restaurant location to user on map (MapKit)
GIF created with LiceCap.
- Operating System: Yosemite v10.10.4
- Xcode v6.4
- iOS v8.4
- Devices
- iPhone 6 Simulator
- Update map view to tap on pin annotation to segue to BusinessDetailsViewController
- Test for more corner cases