Skip to content

santos22/Swiftip

Repository files navigation

Pre-work - Swiftip

Swiftip is a tip calculator application for iOS.

Submitted by: Santos Solorzano

Time spent: 30+ hours spent in total

User Stories

The following required functionality is complete:

  • User can enter a bill amount, choose a tip percentage, and see the tip and total values.

The following optional features are implemented:

  • Settings page to change the default tip percentage.
  • UI animations
  • Remembering the bill amount across app restarts (if <10mins)
  • Using locale-specific currency and currency thousands separators.
  • 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.

The following additional features are implemented:

  • Table view to store and display temporary bill history including dates and totals
  • Bill history is displayed when app is closed and reopened :-)
  • Add total to bill history and hide keypad by pressing a button
  • Ability to delete bill history items by swiping to left
  • Enhanced UI with a launch icon to go with the app's main colors
  • Randomly-generated lifestyle tips on how to spend less appear in-app

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

Some of the challenges I encountered while building the app involved pairing up the right version of Xcode with the right version of my iOS device; I was attempting to test and develop this app on my iPhone 6, but decided to revert back to my iPhone 5 and use the iPhone 5S Simulator to run my app. Another challenge I encountered that I will work on overcoming was persistence because the data being displayed in my table-view was not being stored, and therefore the user did not have the bill history that I initially was planning for.

License

Copyright [2015] [Santos Solorzano]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Tip Calculator in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages