19 lines
378 B
Swift
19 lines
378 B
Swift
//
|
|
// GeocoderProtocol.swift
|
|
// AutoCatCore
|
|
//
|
|
// Created by Selim Mustafaev on 31.07.2024.
|
|
// Copyright © 2024 Selim Mustafaev. All rights reserved.
|
|
//
|
|
|
|
import CoreLocation
|
|
import Mockable
|
|
|
|
@Mockable
|
|
public protocol GeocoderProtocol {
|
|
|
|
func reverseGeocodeLocation(_ location: CLLocation) async throws -> [CLPlacemark]
|
|
}
|
|
|
|
extension CLGeocoder: GeocoderProtocol { }
|