SwiftclassWeatherCore
StubGeocodeService
class WeatherCore.StubGeocodeService
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolWeatherCore.GeocodeServiceType
Members 7
- deinit
deinit - field
let locations: [WeatherCore.LocationCoordinate : WeatherCore.Location]+0x10 - func
reverseGeocode(location: CLLocation) -> TeaFoundation.Promise<WeatherCore.Location> - func
reverseGeocodeSource(for: CLLocation) -> WeatherCore.ReverseGeocodeSource - func
reverseGeocodeToGEOMapItem(searchQuery: String, coordinate: CLLocationCoordinate2D?) -> TeaFoundation.Promise<GEOMapItem?> - func
reverseGeocodeToGEOMapItem(location: CLLocation) -> TeaFoundation.Promise<GEOMapItem> - init
WeatherCore.StubGeocodeService.__allocating_init(locations: [WeatherCore.LocationCoordinate : WeatherCore.Location]) -> WeatherCore.StubGeocodeService
Header
class StubGeocodeService { enum Errors { case geocodeFailed } let locations: [WeatherCore.LocationCoordinate : WeatherCore.Location] init(locations: [WeatherCore.LocationCoordinate : WeatherCore.Location]) final func reverseGeocode(location: __C.CLLocation) -> TeaFoundation.Promise<WeatherCore.Location> final func reverseGeocodeToGEOMapItem(searchQuery: Swift.String, coordinate: __C.CLLocationCoordinate2D?) -> TeaFoundation.Promise<(any __C.GEOMapItem)?> final func reverseGeocodeToGEOMapItem(location: __C.CLLocation) -> TeaFoundation.Promise<any __C.GEOMapItem> final func reverseGeocodeSource(for: __C.CLLocation) -> WeatherCore.ReverseGeocodeSource deinit }