dimanche 16 novembre 2014

Nested Dictionaries in Swift


Vote count:

0




What is wrong with this code, and how can I fix this? Please explain your answers, so I can learn. I am new to Swift, and fairly new to Programming.



var has: Dictionary<String, Dictionary<Dictionary, Int>> = [
"Material" : [
"Factory" : 0,
"Raw" : 0,
"Energy" : 0,
],
"Workers" : [
"Dev" : 0,
"Builder" : 0,
"Advertiser" : 0,
"Consultant" : 0,
"Engenier" : 0,
"QA" : 0,
],
"Assets" : [
"Bonds" : 0,
],
"Owe" : [
"10%" = 0,
"20%" = 0,
"30%" = 0
],
"Other" : [
"Insurance" : 0
]
]


asked 1 min ago







Nested Dictionaries in Swift

Aucun commentaire:

Enregistrer un commentaire