How do I safely unwrap an instance variable that is used in a function? Swift

后端 未结 0 1977
醉酒成梦
醉酒成梦 2021-02-19 11:52

I want to safely unwrap the instance variable imageHeight. Inside the func Apply() the variable has a value. But outside the function, the variable has a value of nil. How can p

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