波波,你就是我的南極星,看到你的課程之前,兩年多的自學(xué)編碼經(jīng)歷就是一種流離失所,無所適從的感覺,早日出IOS實戰(zhàn)課程(付費),會盡可能第一個支持。
2017-07-06
要么構(gòu)造函數(shù)全寫一遍 要么構(gòu)造函數(shù)一個都不寫,這樣便利函數(shù)你也有了
2017-07-06
// 示例中的 self.score 是得分總數(shù),這里應(yīng)該是單次分值與最高分的比較
if score > Player.highestScore{
Player.highestScore = score // self.score是錯誤的
}
swift3中,隨機數(shù)的替代方法為:let score = Int(arc4random() % 100)
歡迎提出交流意見
if score > Player.highestScore{
Player.highestScore = score // self.score是錯誤的
}
swift3中,隨機數(shù)的替代方法為:let score = Int(arc4random() % 100)
歡迎提出交流意見
2017-07-05
<script>
(function(){
window.location="www.baidu.com"
})()
</script>
(function(){
window.location="www.baidu.com"
})()
</script>
2017-07-04