Nick Walter Swift 5 Course - Part 7 (lectures 38 to 39)
So the final part of Nick's course! This last chapter, the iPhone app project has been more recap but still well worth doing! Only got about 20/25 minutes now for today so just enough time. Start Time - 17:51 If Statements Away from the project...so will just skim through this. Some focus on other operands e.g. < > == != <= etc. Challenge....why not! Make a var called temp to hold the temperature. Then create if statement to show if temp is greater than or equal to 30, print it's hot, if not, then print nice weather. Not even going to use a playground for this! var temp = 42 if temp >= 30 { print("It's hot!") } else { print("Nice weather!") } There we go. Too easy. Counting Right, so Nick states that the idea is to have 10 clicks and then the background colour changes. I'm just going to do this myself - good practice! DONE! var total = 0 var colourArray = [ UIColor . green , UIColor . b...