1.如何破解Alfred3:程序員
https://www.jianshu.com/p/5b3f98b1f7b6學習
2.學習了一篇精品文章:我真的要作一生的程序員嗎?spa
https://mp.weixin.qq.com/s/zeSgti_uxaSNzYkaAfct-gget
3.元組:程序
對元組中的元素進行修改,注意只能修改,不能添加或者刪除,any類型能夠改成任何類型d3
4.字典的合併: qq
//即便類型一致也不能相加進行合併dict
//let dict1 = ["name":"summer", "age" : 18] as [String : Any]di
//let dict2 = ["sex" : "男", "phoneNumber" : "+86 0393"] as [String : Any]co
//
//let resultDict = dict1 + dict2 //寫法是錯誤的
//若是必須合併 那麼只能
var dict1 = ["name":"summer", "age" : 18] as [String : Any]
let dict2 = ["sex" : "男", "phoneNumber" : "+86 0393"] as [String : Any]
for (key, value) in dict2{
dict1[key] = value as AnyObject?
}