Apple Swift Programming
prettyprint
2017年4月27日 星期四
Error: value of type '[String]' has no member 'removeValueForKey'
Problem
以 removeAtIndex 刪除 Array 中一個 Element,出現下列錯誤:
Solution
Swift 3 不支援 removeAtIndex 刪除 Array 中的一個 Element,而改用:
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言