How do I print Optional Int in SWIFT?

前端 未结 0 617
悲哀的现实
悲哀的现实 2020-12-13 08:01

I simply want to Print the optional humidityPercentage component of weather to the console.

let cityName: String
var humidityPercentage: Int? 
var temperature         


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