问答详情
源自:5-2 Swift-数组的基本操作

println 老是报错,提升 has been named to 'print',但是 fix it 之后结果只能显示一行了

for index in 0..<array.count

{

    println(array[index])

}

println  老是报错,提升 has been named to 'print',但是 fix it 之后结果只能显示一行了

提问者:swaggyoung 2015-10-22 21:14

个回答

  • songsl
    2015-10-23 19:20:37

    把println全部改成print试试