Skip to content

Commit 81c515f

Browse files
committed
Expose batchGeocode(…) to ObjC
1 parent 37567bf commit 81c515f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MapboxGeocoder/MBGeocoder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ open class Geocoder: NSObject {
207207
- returns: The data task used to perform the HTTP request. If, while waiting for the completion handler to execute, you no longer want the resulting placemarks, cancel this task.
208208
*/
209209
@discardableResult
210+
@objc(batchGeocodeWithOptions:completionHandler:)
210211
open func batchGeocode<T: GeocodeOptions>(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions {
211212
let url = urlForGeocoding(options)
212213

0 commit comments

Comments
 (0)