ViewModel

class ViewModel

Undocumented

Lifecycle

Internal

  • Undocumented

    Declaration

    Swift

    let name: String
  • Undocumented

    Declaration

    Swift

    var requestStatus: RequestStatus { get set }
  • Undocumented

    Declaration

    Swift

    var temperatureUnit: UnitTemperature { get set }
  • Undocumented

    Declaration

    Swift

    var weatherAlerts: [WeatherAlert] { get set }
  • Undocumented

    Declaration

    Swift

    let latitude: Double
  • Undocumented

    Declaration

    Swift

    let longitude: Double
  • Undocumented

    Declaration

    Swift

    var weather: Weather? { get set }
  • Undocumented

    Declaration

    Swift

    var icon: String { get }
  • Undocumented

    Declaration

    Swift

    var temperature: String { get }
  • Undocumented

    Declaration

    Swift

    var humidity: String { get }
  • Undocumented

    Declaration

    Swift

    func openInMaps()
  • Undocumented

    Declaration

    Swift

    func copyLatLong()
  • Undocumented

    Declaration

    Swift

    func getWeather()