在Swift 3,Int 和UInt32 都是整數,卻偏偏不能比較。如以下例子,我們想判斷利用arc4random_uniform 隨機產生的answer 和Int 型別的guessNumber 是否一樣, ...
確定! 回上一頁