/Simple_Tips

An iOS for calculating tips implemented in Swift for practice purpose

Primary LanguageSwift

Pre-work - Simple Tips

Simple Tips is a tip calculator application for iOS.

Submitted by: Dasheng Chen

Time spent: 13 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.
  • [✓] Settings page to change the default tip percentage.

The following optional features are implemented:

  • [✓] 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 not have to tap anywhere to use this app. Just launch the app and start typing.

The following additional features are implemented:

  • [✓] Dark and Light theme

Video Walkthrough

Here is a walkthrough of implemented user stories:

3rd Version Gif

alt tag

2nd Version Gif, New Feature, Dark and Light theme

alt tag

1st Version Gif

alt tag

GIF created with LiceCap.

Notes

Describe any challenges encountered while building the app.

  • Swift is realtive new language, and it is updating in every seconds.
  • A lot APIs are deprecated.
  • A lot StackOverflow links are no longer applicable.
  • Good thing is XCode is so smart, helping on prompting deprecated APIs.
  • New comment, not only stackoverflow links, a lot other links or blogs that relate to Swift language are no longer applicable due the updating frequency of Swift community.

License

Copyright [2016] [Dasheng Chen]

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.