diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-03-13 01:08:42 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-03-13 12:35:09 -0700 |
commit | e91be23b7f1759ba7da4d649b46475312d8097e8 (patch) | |
tree | ba35de683bc40408215c26f63015407b08dec144 /platform/darwin | |
parent | 936cc33d5291a77bc4e0dda9c7956860bef5f872 (diff) | |
download | qtlocation-mapboxgl-e91be23b7f1759ba7da4d649b46475312d8097e8.tar.gz |
[ios, macos] Fixed documentation parameter mismatches
Also enabled compiler warnings about incorrect Doxygen commands.
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/src/MGLAttributionInfo_Private.h | 1 | ||||
-rw-r--r-- | platform/darwin/src/MGLStyleValue.h | 7 | ||||
-rw-r--r-- | platform/darwin/src/NSString+MGLAdditions.h | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/platform/darwin/src/MGLAttributionInfo_Private.h b/platform/darwin/src/MGLAttributionInfo_Private.h index 4b28fa5266..08bc6bfc4d 100644 --- a/platform/darwin/src/MGLAttributionInfo_Private.h +++ b/platform/darwin/src/MGLAttributionInfo_Private.h @@ -30,7 +30,6 @@ NS_ASSUME_NONNULL_BEGIN redundant to the given object is replaced by the given object. @param info The info object to add to the receiver. - @return True if the given info object was added to the receiver. */ - (void)growArrayByAddingAttributionInfo:(MGLAttributionInfo *)info; diff --git a/platform/darwin/src/MGLStyleValue.h b/platform/darwin/src/MGLStyleValue.h index 4afdbece64..d6a8b95d81 100644 --- a/platform/darwin/src/MGLStyleValue.h +++ b/platform/darwin/src/MGLStyleValue.h @@ -168,7 +168,8 @@ MGL_EXPORT @param interpolationMode The mode used to interpolate property values over a range of feature attribute values for each outer zoom level. - @param sourceStops A dictionary associating feature attributes with style values. + @param compositeStops A dictionary associating feature attributes with style + values. @param attributeName Specifies the feature attribute to take as the function input. @param options A dictionary containing `MGLStyleFunctionOption` values that @@ -380,7 +381,7 @@ MGL_EXPORT @param interpolationMode The mode used to interpolate property values over a range of feature attribute values. - @param sourceStops A dictionary associating feature attributes with style values. + @param stops A dictionary associating feature attributes with style values. @param attributeName Specifies the feature attribute to take as the function input. @param options A dictionary containing `MGLStyleFunctionOption` values that @@ -440,7 +441,7 @@ MGL_EXPORT @param interpolationMode The mode used to interpolate property values over a range of feature attribute values for each outer zoom level. - @param sourceStops A dictionary associating feature attributes with style values. + @param stops A dictionary associating feature attributes with style values. @param attributeName Specifies the feature attribute to take as the function input. @param options A dictionary containing `MGLStyleFunctionOption` values that diff --git a/platform/darwin/src/NSString+MGLAdditions.h b/platform/darwin/src/NSString+MGLAdditions.h index ff72e9d3af..d82ecaa671 100644 --- a/platform/darwin/src/NSString+MGLAdditions.h +++ b/platform/darwin/src/NSString+MGLAdditions.h @@ -14,8 +14,9 @@ NS_ASSUME_NONNULL_BEGIN Returns a title-cased representation of the receiver using the specified locale. - @param The locale. For strings presented to users, pass in the current locale - (`+[NSLocale currentLocale]`). To use the system locale, pass in `nil`. + @param locale The locale. For strings presented to users, pass in the current + locale (`+[NSLocale currentLocale]`). To use the system locale, pass in + `nil`. */ - (NSString *)mgl_titleCasedStringWithLocale:(NSLocale *)locale; |