SwiftprotocolWeatherCore

protocol WeatherCore.LocationDataModelFactoryType

Members 3

  1. funcmethod descriptor for makeLocationFromLocalDictionary(Any) throws -> WeatherCore.LocationDataModel
  2. funcmethod descriptor for makeLocationFromRemoteDictionary(Any) throws -> WeatherCore.LocationDataModel
  3. funcmethod descriptor for makeLocationsFromSyncedLocations(Coherence.CROrderedDictionary<WeatherCore.SyncedLocationKey, WeatherCore.SyncedLocation>) -> [WeatherCore.LocationDataModel]
protocol LocationDataModelFactoryType {
    func makeLocationFromLocalDictionary(_: Any) throws -> WeatherCore.LocationDataModel
    func makeLocationFromRemoteDictionary(_: Any) throws -> WeatherCore.LocationDataModel
    func makeLocationsFromSyncedLocations(_: Coherence.CROrderedDictionary<WeatherCore.SyncedLocationKey, WeatherCore.SyncedLocation>) -> [WeatherCore.LocationDataModel]
}