This is from debug.
url String "https://openweathermap.org/img/w/Optional(\50n\).png"
The problem is in this line:
self.imgURL = "https://openweathermap.org/img/w/\(self.dodatek).png"
When I change (self.dodatek) for example to icon 50n it works and show me the icon. When I start my weather app and write name of the city I want to have url like this, but for 50n it has to be my variable that is taken from json.
https://openweathermap.org/img/w/50n.png