SwiftstructWeatherCore

struct WeatherCore.CachedCurrentLocation

Members 3

  1. fieldlet date: Foundation.Date
  2. fieldlet embeddedLocation: WeatherCore.CachedCurrentLocation.EmbeddedLocation
  3. initinit(clLocation: CLLocation, date: Foundation.Date) -> WeatherCore.CachedCurrentLocation
struct CachedCurrentLocation {
    enum EmbeddedLocation {
        case raw(__C.CLLocation)
        case resolved(WeatherCore.Location)

        var clLocation: __C.CLLocation {
            get
        }
    }
    let embeddedLocation: WeatherCore.CachedCurrentLocation.EmbeddedLocation
    let date: Foundation.Date

    init(clLocation: __C.CLLocation, date: Foundation.Date)
}