Skip to content

BMI Calculator complete with dynamic state management based on variou…#7

Open
mdigel wants to merge 1 commit into
appbrewery:masterfrom
mdigel:master
Open

BMI Calculator complete with dynamic state management based on variou…#7
mdigel wants to merge 1 commit into
appbrewery:masterfrom
mdigel:master

Conversation

@mdigel
Copy link
Copy Markdown

@mdigel mdigel commented Dec 20, 2020

…s health spectrum scenarios

@Sylvester995
Copy link
Copy Markdown

Thanks for the changes mdigel!

}

override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
//print("sender", sender.bmi!)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commented print statement can be removed

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whaaat?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clueless

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do I hide this lol, it's showing in XCode

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is going on lmaoo

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hell everyone lol

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi , wtf what is that ?

mutating func calculateBMI(height: Float, weight: Float){
let bmiValue = weight / pow(height, 2)
if bmiValue < 18.5 {
// print("Underweight")
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commented print statement can be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.