StackOverflow 文档 Swift Language 教程 字典 获取字典中的所有键 获取字典中的所有键 Created: November-22, 2018 let myAllKeys = ["name" : "Kirit" , "surname" : "Modi"] let allKeys = Array(myAllKeys.keys) print(allKeys) 合并两个词典修改词典