0

++ is unavailable: it has been removed in swift 3 ?

9th Sep 2017, 8:31 AM
Handi Limijaya
Handi Limijaya - avatar
3 ответов
+ 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
9th Sep 2017, 8:52 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
What part of that could you not understand?
9th Sep 2017, 8:42 AM
Enzo
Enzo - avatar
+ 1
thank you
21st Sep 2017, 11:38 AM
Handi Limijaya
Handi Limijaya - avatar