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 81c515f commit e05c00dCopy full SHA for e05c00d
MapboxGeocoder/MBGeocoder.swift
@@ -208,7 +208,7 @@ open class Geocoder: NSObject {
208
*/
209
@discardableResult
210
@objc(batchGeocodeWithOptions:completionHandler:)
211
- open func batchGeocode<T: GeocodeOptions>(_ options: T, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask where T: BatchGeocodeOptions {
+ open func batchGeocode(_ options: GeocodeOptions & BatchGeocodeOptions, completionHandler: @escaping BatchCompletionHandler) -> URLSessionDataTask {
212
let url = urlForGeocoding(options)
213
214
let task = dataTaskWithURL(url, completionHandler: { (data) in
0 commit comments