I find myself doing this quite a bit in my app:
myLabel.text = "My name is \(peopleDictionary["Name"])"
Which throws an error because of the double quotes around name. I am constantly having to do this:
let name = peopleDictionary["Name"]
myLabel.text = "My name is \(name)"
Am I missing a very easy way to get this to work inline?
Edit: a work around that doesn't require an extra line of code would be
myLabel.text = "My name is " + peopleDictionary["Name"]