Result of call to 'updateWeatherIcon(condition:)' is unused and therefore will not show UIImage

It seems to me like you want the line

self.weatherData.weatherIconName = WeatherDataModel().updateWeatherIcon(condition: self.weatherData.condition)

Instead of

WeatherDataModel().updateWeatherIcon(condition: self.weatherData.condition)