I am a little confused on the answer that Xcode is giving me to this experiment in the Swift Programming Language Guide:
// Use a for-in to iterate through a
This is a user-defined function to iterate through a dictionary:
func findDic(dict: [String: String]){ for (key, value) in dict{ print("\(key) : \(value)") } } findDic(dict: ["Animal":"Lion", "Bird":"Sparrow"]) //prints Animal : Lion Bird : Sparrow