Loop Through a Dictionary in Swift

// Create a Dictionary with two elements
var myDictionary = ["first_name": "Sergey", "last_name": "Kargopolov"]

// Loop through dictionary keys and print values
for (key,value) in myDictionary {
    print("\(key) = \(value)")
}

[raw_html_snippet id=”cookbookpagecoursesheader”]

Unit Testing Swift Mobile App

Apply Test-Driven Development(TDD) process to iOS mobile app development in Swift Preview this video course.