diff options
author | fabian-guerra <fabian.guerra@mapbox.com> | 2017-01-25 22:38:53 -0500 |
---|---|---|
committer | Jason Wray <friedbunny@users.noreply.github.com> | 2017-01-25 22:38:53 -0500 |
commit | 8ac99759415a8d89fc8b49b702eedc6867e4e4a5 (patch) | |
tree | 938e61574aa90036a60f79f21fc66a4c6fb3b48f /platform/darwin | |
parent | 85f485e4edba611e058a9eb67cafda6df688a183 (diff) | |
download | qtlocation-mapboxgl-8ac99759415a8d89fc8b49b702eedc6867e4e4a5.tar.gz |
[ios, macos] Deprecate style class API (#7785)
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/src/MGLStyle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h index fcb464a303..8c30b069b8 100644 --- a/platform/darwin/src/MGLStyle.h +++ b/platform/darwin/src/MGLStyle.h @@ -361,7 +361,7 @@ static const NSInteger MGLStyleDefaultVersion = 9; /** Currently active style classes, represented as an array of string identifiers. */ -@property (nonatomic) NS_ARRAY_OF(NSString *) *styleClasses; +@property (nonatomic) NS_ARRAY_OF(NSString *) *styleClasses __attribute__((deprecated("This property will be removed in a future release."))); /** Returns a Boolean value indicating whether the style class with the given @@ -370,14 +370,14 @@ static const NSInteger MGLStyleDefaultVersion = 9; @param styleClass The style class to query for. @return Whether the style class is currently active. */ -- (BOOL)hasStyleClass:(NSString *)styleClass; +- (BOOL)hasStyleClass:(NSString *)styleClass __attribute__((deprecated("This method will be removed in a future release."))); /** Activates the style class with the given identifier. @param styleClass The style class to activate. */ -- (void)addStyleClass:(NSString *)styleClass; +- (void)addStyleClass:(NSString *)styleClass __attribute__((deprecated("This method will be removed in a future release."))); /** Deactivates the style class with the given identifier. @@ -392,7 +392,7 @@ static const NSInteger MGLStyleDefaultVersion = 9; @param styleClass The style class to deactivate. */ -- (void)removeStyleClass:(NSString *)styleClass; +- (void)removeStyleClass:(NSString *)styleClass __attribute__((deprecated("This method will be removed in a future release."))); #pragma mark Managing a Style’s Images |