SwiftUI calculator app for mobile devices (IPhones) that reads two numbers specified by user then parses them to numbers and makes arithmetic operation on them (addition/subtraction/multiplication/division) with checks if the operation is possible.
The app features:
- text input field read,
- arithmetic operation select,
- safe operation mode with exception checks.
To use/install the app you have to have installed XCode IDE in the MacOS. Simply launch the IDE and the preffered simulator.
- First app launch
- Addition operation between 4 and 3
- Subtraction operation between 4 and 3
- Multiplication operation between 4 and 3
- Division operation between 4 and 3 (with secured by zero division)
![](https://github.com/RobertNeat/Arithmetic_calculator/raw/main/screenshots/5_division.png)
![](https://github.com/RobertNeat/Arithmetic_calculator/raw/main/screenshots/6_division_zero.png)