mapbox / MapboxGeocoder.swift

Address search and reverse geocoding in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
https://www.mapbox.com/geocoding/
ISC License
131 stars 48 forks source link

Fix data task handler return queue issue #182

Closed tysonkerridge closed 5 years ago

tysonkerridge commented 5 years ago

• Fixed issue with error handlers not being called on main queue where intended. Functions using the dataTaskWithURL(_:completionHandler:errorHandler:) function internally specify that their completion handlers will be executed on the main thread.

• Set up a return queue variable to potentially allow easy changes in the future.

cc @1ec5

tysonkerridge commented 5 years ago

I guess this is a duplicate of #184 now...