mapbox / MapboxStatic.swift

Static map snapshots with overlays in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
https://www.mapbox.com/api-documentation/?language=Swift#static
Other
189 stars 31 forks source link

Inline HTTPURLResponse extension constants #60

Closed 1ec5 closed 7 years ago

1ec5 commented 7 years ago

Inlined HTTPURLResponse extension constants, which were only being used in one place each and would be unlikely to change. These static constants were being bridged to Objective-C as class properties on categories, but they were triggering linker warnings about “incompatible Objective-C category definitions” in object files.

/ref mapbox/MapboxGeocoder.swift#105 /cc @frederoni