For some reason, I just can't make this expression work:
let expandedBio: Dictionary<String,AnyObject> = ["name":"Saurabh", "profession":"developer", "language":"java", "employed": true]
if let employed : AnyObject = expandedBio["employed"] {
println("\(expandedBio[\"name\"]) is not available")
}
How do I output the println
statement? I get the error
Unexpected "" character error in string interpolation
How do I do this right?