The simple calculator app.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Calcu is a simple calculator app with basic memory capabilities. You can also use Calcu to calculate appropriate tips for waiters.
This Project is for my Term 4 elective, Native iOS Development 304, for which we were tasked to create a basic calculator application with memory functionality.
This iOS application was build using:
- Download and Install Xcode https://developer.apple.com/xcode/ from the App Store (Only available on MacOS)
- Clone the repo
git clone https:://github.com/ArmandPretorius/calcu.git
- Then open the project in Xcode
When opening Calcu, you can calculate basic calculations like adding, subtracting, multiplying and dividing.
Next to the equal sign is a tip button, which gives you three options when clicked on. You can then add 10%, 15% or 20% to your total bill to tip your waiter appropriately.
You can save the answer to your memory, recall the memory, add and subtract from the memory and also clear the memory.
When clicking on the answers, you get presented with the history/log of all your previous calculations. At the bottom you can clear the log.
The application uses NSExpressions to make the calculations The application uses UserDefaults to save the calculation log and memory.
- I would like to make it possible to select a log and use it for the next calculation.
- I'd also like to add an AC ability.
- I'd also like to add more gesture based interactions.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/YourAmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/YourAmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Armand Pretorius - @amplified_designs - 170045@virtualwindow.co.za
Project Link: https://github.com/ArmandPretorius/calcu