We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d7d94 commit 0837874Copy full SHA for 0837874
Sources/CLGeocoder+Promise.swift
@@ -25,13 +25,15 @@ extension CLGeocoder {
25
}
26
27
/// Submits a forward-geocoding request using the specified address dictionary.
28
+ @available(iOS, deprecated: 11.0)
29
public func geocode(_ addressDictionary: [String: String]) -> Promise<[CLPlacemark]> {
30
return Promise { seal in
31
geocodeAddressDictionary(addressDictionary, completionHandler: seal.resolve)
32
33
34
35
/// Submits a forward-geocoding request using the specified address string.
36
37
public func geocode(_ addressString: String) -> Promise<[CLPlacemark]> {
38
39
geocodeAddressString(addressString, completionHandler: seal.resolve)
0 commit comments