Mission log 2, and i apologize if i wont be able to go into details.
It's day 2 of 100 days of swiftui course offered by HWS + and yes it has been interesting so far.
Day 2 is all about Booleans, string interpolation
i learn't the following:
- How to store truth with boolean
var isItRaining = false
- How to join two strings together In swift there are two ways to join strings
- by using + operator
- by using interpolation
// Interpolation
var name = "Opeyemi"
var introduction = "My name is \(name)"
//output : My name is Opeyemi
NOTE: I noticed how + operator can be used for multiple operation, and this is referred to as OPERATOR OVERLOADING
Top comments (0)