mapzen / ios

Where you can find everything iOS from Mapzen
https://mapzen.com/projects/mobile/
Apache License 2.0
40 stars 24 forks source link

Fix warnings in Objective-C documentation generation #298

Closed msmollin closed 7 years ago

msmollin commented 7 years ago

Description

When outputting the documentation from the swift code into objective-c, we get warning generated because of mismatched labels (even though swift is entirely happy with it).

   Loads a map style synchronously on the main thread. Use the async methods instead of these in production apps.

   - parameter style: The map style to load.
   - parameter locale: The locale to use for the map's language.
   - parameter sceneUpdates: The scene updates to make while loading the map style.
   - throws: A MZError `apiKeyNotSet` error if an API Key has not been sent on the MapzenManager class.
   */
  open func loadStyle(_ style: MapStyle, locale l: Locale, sceneUpdates: [TGSceneUpdate]) throws {

results in Obj-c projects: screen shot 2017-04-27 at 11 54 06 am

Mapzen SDK & iOS Version

SDK: 0.4.0