0
++ is unavailable: it has been removed in swift 3 ?
3 Antworten
+ 7
Yes, the prefix and postfix incrementation/decrementation has been removed from the swift language. Use += or -= instead
var num: Int = 4
num += 1
num -= 2
+ 1
What part of that could you not understand?
+ 1
thank you