A simple BMI calculator implemented using MVC design pattern. Based on the user’s weight and height it calculates the body mass and gives a piece of health advice depending on whether if they have eaten too many pies or if they need to eat more pies.
Concepts used:
- How to create multi-screen apps with animated navigation.
- Optional binding, optional chaining and the nil coalescing operator.
- How to create classes and difference between classes and structs.
- Pass by value vs. pass by reference.
- Formatting Strings.
- Color literals.