HPOpenWeather Documentation Beta

Enumeration Weather​Icon

public enum WeatherIcon: String, Codable, CaseIterable 
WeatherIcon WeatherIcon Codable Codable WeatherIcon->Codable String String WeatherIcon->String CaseIterable CaseIterable WeatherIcon->CaseIterable

Conforms To

CaseIterable
Codable
String

Enumeration Cases

clear​Sky

case clearSky = "01d"

clear​Sky​Night

case clearSkyNight = "01n"

few​Clouds

case fewClouds = "02d"

few​Clouds​Night

case fewCloudsNight = "02n"

scattered​Clouds

case scatteredClouds = "03d"

scattered​Clouds​Night

case scatteredCloudsNight = "03n"

broken​Clouds

case brokenClouds = "04d"

broken​Clouds​Night

case brokenCloudsNight = "04n"

shower​Rain

case showerRain = "09d"

shower​Rain​Night

case showerRainNight = "09n"

rain

case rain = "10d"

rain​Night

case rainNight = "10n"

thunderstorm

case thunderstorm = "11d"

thunderstorm​Night

case thunderstormNight = "11n"

snow

case snow = "13d"

snow​Night

case snowNight = "13n"

mist

case mist = "50d"

mist​Night

case mistNight = "50n"

Properties

system​Image​Name

var systemImageName: String 

system​Image​Name​Filled

var systemImageNameFilled: String 

Methods

filled​UIImage(with​Configuration:​)

func filledUIImage(withConfiguration configuration: UIImage.Configuration? = nil) -> UIImage? 

outline​UIImage(with​Configuration:​)

func outlineUIImage(withConfiguration configuration: UIImage.Configuration? = nil) -> UIImage? 

filled​NSImage(accessibility​Description:​)

func filledNSImage(accessibilityDescription: String? = nil) -> NSImage? 

outline​NSImage(accessibility​Description:​)

func outlineNSImage(accessibilityDescription: String? = nil) -> NSImage?