This project marks a significant milestone in my journey through the "iOS & Swift - The Complete iOS App Development Bootcamp" taught by Angela Yu on Udemy. As part of this course module, I successfully developed an app to calculate the division of expenses among friends, including tips. Throughout the development process, I implemented features to enhance user experience and ensure accurate calculations.



-
Input Validation: Ensured that only numerical inputs are accepted in the text field for accurate calculations.
-
Empty Field Check: Implemented logic to check if fields are empty before enabling the calculate button, preventing inaccurate results.
-
Modal Transition: Created a smooth transition between the calculation screen and the result screen using a modal.
-
MVVM Architecture + Viewcode:: Transformed the project architecture to adhere to the MVVM (Model-View-ViewModel) design pattern using ViewCode. This adaptation from the initial MVC (Model-View-Controller) and Storyboard structure in the course's project sketch resulted in a more organized and modular codebase.
- Clone the Repository:
git clone https://github.com/guilhermebrv/calculator-for-tips.git
- Open in Xcode:
- Launch the project in Xcode and run it on your preferred iOS simulator or device.
- Explore and Calculate:
- Enter your expenses, making sure to keep it numerical - because the keyboard won't allow you to type another thing anyway!
- Check that you've filled in all the fields.
- Hit the magical calculate button and witness the results!
- Angela Yu - Udemy Instructor: Grateful for the comprehensive iOS development course that inspired and equipped me to develop this split bills calculator.