Which of these is a valid syntax for iterating through the keys and values of a dictionary?
let dictionary = [keyOne : valueOne, keyTwo : valueTwo]
Correct Answer: for (key, value) in dictionary.enumerate() { println("Key: (key) Value: (value)") }
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions