Easy BMI calculator to review optionals, segues and structs

Overview

App Brewery Banner

BMI Calculator

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 you will create

By the end of the module, you 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 you will learn

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

This is a companion project to The App Brewery's Complete App Development Bootcamp, check out the full course at www.appbrewery.co

End Banner

You might also like...
EzNews - A simple and easy to use News app for iOS and iPadOS. It uses NewsAPI as its backend

EzNews This was my first proper Swift app. Its a news app made for iOS and iPadO

ToDoList - An ios app that help users to set their todos and make it easy to remember this todos
ToDoList - An ios app that help users to set their todos and make it easy to remember this todos

An ios app that help users to set their todos and make it easy to remember this todos by reminders them when todo time's up, this app make sure that you don't forget any todos that you want to do just give it to the app and let the app hundle it for you.

CZWeatherKit is a simple, extensible weather library for iOS, tvOS, and OS X that allows for easy fetching of weather data from various weather services.
CZWeatherKit is a simple, extensible weather library for iOS, tvOS, and OS X that allows for easy fetching of weather data from various weather services.

CZWeatherKit is a simple, extensible weather library for iOS, tvOS, and OS X that allows for easy fetching of weather data from various weather services.

Pegase is a beautifully easy tool to keep track of your financial life on all your macOS
Pegase is a beautifully easy tool to keep track of your financial life on all your macOS

Pegase 🎉 Features 📒 Documentation Personal account software Pegase is a beautifully easy tool to keep track of your financial life on all your macOS

The demo project to show how to organize code to make SwiftUI apps easy to be test.
The demo project to show how to organize code to make SwiftUI apps easy to be test.

TestableApp I combined the idea to use functional programming instead of an loader instance in ModelView(I prefer to think of it as a service) and Res

TodoList-iOS-master - DailyCheck makes it easy to manage your to-dos by date

Daily Check DailyCheck makes it easy to manage your to-dos by date. App Store Do

This app is a native client for openHAB which allows easy access to your sitemaps

openHAB client for iOS Introduction This app is a native client for openHAB which allows easy access to your sitemaps. Beta releases are available on

An easy to use UIAlertController builder for swift

LKAlertController An easy to use UIAlertController builder for swift Features Short and simple syntax for creating both Alerts and ActionSheets from U

 ReactionButton is a control that allows developers to add this functionality to their apps in an easy way.
ReactionButton is a control that allows developers to add this functionality to their apps in an easy way.

Since Facebook introduced reactions in 2016, it became a standard in several applications as a way for users to interact with content. ReactionButton is a control that allows developers to add this functionality to their apps in an easy way.

Owner
null
IMC - App developed to show the user's BMI

IMC Swift Aplicativo que o usuário digita seu peso e sua idade e tem como result

Giovanna Danelli 0 Feb 8, 2022
A Currency Converter & Calculator IOS application to check, convert and calculate to popular currencies to your favorite ones.

A Currency Converter & Calculator IOS application to check, convert and calculate to popular currencies to your favorite ones.

CCC 64 Jan 1, 2023
Basic calculator app for iOS devices using Swift 3 and Xcode

iOS Calculator App Basic calculator app for iOS devices using Swift 3 and Xcode. Created for learning purpose. How to use Just download source code an

null 1 Jan 12, 2022
ProgrammingCalculator - a simple programmer's calculator with operators like AND, OR

Programmer's Calculator This is a simple calculator program which implements operators commonly used in discrete logic such as AND, OR, Bit Shifting,

Austin Wright 0 Jan 5, 2022
🎓📊 Grade Calculator for iOS built with SwiftUI

GradeCalc - GPA Calculator Download at the App Store Product Hunt Support If you want to support the development of this app, feel free to sponsor me

Marlon Lückert 38 Dec 15, 2022
Calculator app created using the SwiftUI framework

Calculator app created using the SwiftUI framework

Shubham Kr. Singh 90 Nov 29, 2022
iOS Swift Calculator

Calculadora User Story 1 - Operações Básicas Adição / Subtração / Multiplicação / Divisão Como caixa do mercadinho Eu quero fazer contas básicas no ce

Fernando Goulart 1 Oct 13, 2021
Calculator App With Neumorphism Label Using Swift

Neumorphism Label Neumorphism was born from skeuomorphism and went on to create an entire new UX style. Imagine you want to apply neuomorphism design

Rich Mind 3 Jan 12, 2022
A shameless clone of iOS stock calculator app.

CalClone A shameless clone of iOS stock calculator app. Starting Requirements Xcode 13 Runing Not requires any specific steps, clone and run. git clon

Kemal Sanlı 1 Jun 3, 2022
SwiftUI Jam 2021 - iPad Realtime Calculator

SwiftUI Jam 2021 - iPad Realtime Calculator A SwiftUI iPad calculator with realtime activity Features Addition, Subtraction, Multiplication, Division

Joel Sereno 3 Jan 13, 2022