let ar = [Bool](count: 5, repeatedValue: false)
let nums = [Int](count: 5, repeatedValue: 0)
let ar = [Bool](count: 5, repeatedValue: false)
let nums = [Int](count: 5, repeatedValue: 0)
本文标题:swift创建一个固定大小,并且其值是统一的数组
本文链接:https://www.haomeiwen.com/subject/jqncyttx.html
网友评论