Cannot modify variables in switch case in Swift

后端 未结 0 1372
悲&欢浪女
悲&欢浪女 2020-12-30 17:41

I am trying to update the value of a variable (inside the function) inside the switch case construct. I am new to swift and am not sure I understand why it is not working.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题