[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

BMI-Calculator-IOSApp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Our Goal

The goal of this tutorial is to learn more about Optionals, solidify your understanding of the MVC design pattern and to introduce the concept of Classes. We’ll compare objects created from classes with instances of Structs that we learnt about earlier.

What I will create

By the end of the module, I will have made a Body Mass Index calculator. Based on the user’s weight and height it will calculate their body mass and give a piece of health advice depending on whether if they have eaten too many pies or if they need to eat more pies.

What I learned

  • 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.

App's recording:

Screen.Recording.2022-03-08.at.19.02.40.mov