【发布时间】:2014-06-06 08:30:25
【问题描述】:
假设我有两个数组:
let myKeys = ["one", "two", "three"]
let myValues = ["1", "2", "3"]
和空字典:
var myDictionary = Dictionary<String, String>()
将myKeys 和myValues 分别分配为myDictionary 的键和值的最佳方法是什么?
【问题讨论】:
标签: dictionary swift