问答详情
源自:-

sleep()出错,要怎么改

class CityInfo {

    init()

    {

        Sleep(10)

    }

}


class Metro {

    var mName = ""

    var city = CityInfo()

}


var line1 = Metro()

line1.mName = "地铁一号线"

println(line1.mName)


提问者:Yeah_0003 2015-09-17 13:10

个回答