Tip Calculator is an iOS application for calculating a particular percentage of tips of the total price received in receipt. It is designed for educational purposes. It demonstrates the basics of working with SwiftUI by providing a simple interface to calculate the tip percentage of a given amount.
- Single Screen: The app has one screen with a text field to input a number and a “spinner” to adjust the tip percentage.
- Real-Time Calculation: As you adjust the spinner, the app recalculates and displays the tip amount in real-time.
To run this project locally, you need to have Xcode installed on your machine. Follow these steps:
- Clone the repository:
git clone https://github.com/Turskyi/Tip-Calculator.git
- Open the project in Xcode:
open Tip-Calculator.xcodeproj
- Build and run the project on the iOS Simulator or a physical device.
This project is intended for educational purposes. It allows users to see how a simple app works with SwiftUI. The main feature is to calculate the percentage of an amount based on the tip percentage set using the spinner.
• Operating system: iOS;
• Programming language: Swift;
• SDK: iOS;
• Interface: SwiftUI.
• Architecture: Monolith
Contributions are welcome! If you would like to contribute, please create a pull request.
This project does not have an intentional license.