summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterStyleLayer.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-19 14:32:50 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-08-19 14:32:50 -0700
commit7f1b325b0c8424d82a3de209a9bdee7a8602b1e0 (patch)
treedcbd38fde0513361e410b6fe7a6ccd974efb9bee /platform/darwin/src/MGLRasterStyleLayer.h
parent98787b37bfd334a4f921de46ac3d2320a3c8c49a (diff)
downloadqtlocation-mapboxgl-7f1b325b0c8424d82a3de209a9bdee7a8602b1e0.tar.gz
[ios, macos] Optional properties are nullable
null_resettable semantics aren’t currently respected: #6095.
Diffstat (limited to 'platform/darwin/src/MGLRasterStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLRasterStyleLayer.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h
index ef72ae3f0f..9284221cec 100644
--- a/platform/darwin/src/MGLRasterStyleLayer.h
+++ b/platform/darwin/src/MGLRasterStyleLayer.h
@@ -13,55 +13,55 @@ NS_ASSUME_NONNULL_BEGIN
/**
The opacity at which the image will be drawn.
- The default value of this property is `1`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `1`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterOpacity;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterOpacity;
/**
Rotates hues around the color wheel.
This property is measured in degrees.
- The default value of this property is `0`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `0`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterHueRotate;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterHueRotate;
/**
Increase or reduce the brightness of the image. The value is the minimum brightness.
- The default value of this property is `0`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `0`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterBrightnessMin;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterBrightnessMin;
/**
Increase or reduce the brightness of the image. The value is the maximum brightness.
- The default value of this property is `1`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `1`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterBrightnessMax;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterBrightnessMax;
/**
Increase or reduce the saturation of the image.
- The default value of this property is `0`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `0`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterSaturation;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterSaturation;
/**
Increase or reduce the contrast of the image.
- The default value of this property is `0`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `0`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterContrast;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterContrast;
/**
Fade duration when a new tile is added.
This property is measured in milliseconds.
- The default value of this property is `300`. Set this property to `nil` to reset it to the default.
+ If this property is set to `nil`, the layer uses an implicit default value of `300`.
*/
-@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> rasterFadeDuration;
+@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterFadeDuration;
@end