'++'is deprecated: it will be removed in swift 3
近期学Swift,当在使用到 ++操作符时,警告过期了,看官方解释如下。
The ++ and -- operators have been deprecated, and are slated to be removed in Swift 3.0. As a replacement, use x += 1
on integer or floating point types, and x
原创
2016-09-20 11:22:06 ·
325 阅读 ·
0 评论