First SWIFT Tutorial ever! :-)

let is used for assigning constants whereas var is used for creating variables.

ie:

let  salute: Character = “Hey there…”

let everyone: Character = “Swift World”

var saluteEveryone = salute + everyone

saluteEveryone = saluteEveryone + “!”

Leave a Reply