Szybkie iterację nad słownikiem
var classification = ["Fruit": "Apple", "Vegetable": "Broccoli", "Beverage": "Milk"]
print("Keys: Values")
for (key,value) in classification {
print("\(key): \(value)")
}
SAMER SAEID