diff options
author | Jason Wray <jason@mapbox.com> | 2019-06-18 12:13:43 -0700 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2019-06-21 17:48:54 -0700 |
commit | 45b990dd92d62d6585cea3554c05b357693b9c99 (patch) | |
tree | cf2a9b0bec1705d0df216384964e4b2da3486e8a /platform/macos/src/MGLMapView.h | |
parent | f7f74a6deb57ad4ac22a30604a0dce39024feca2 (diff) | |
download | qtlocation-mapboxgl-45b990dd92d62d6585cea3554c05b357693b9c99.tar.gz |
[ios, macos] Deprecate methods in favor of new completion handler versionsupstream/friedbunny-deprecates-uncompletionful-methods-5839
Diffstat (limited to 'platform/macos/src/MGLMapView.h')
-rw-r--r-- | platform/macos/src/MGLMapView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/macos/src/MGLMapView.h b/platform/macos/src/MGLMapView.h index fbe57524b8..f5fcee5b25 100644 --- a/platform/macos/src/MGLMapView.h +++ b/platform/macos/src/MGLMapView.h @@ -626,8 +626,8 @@ MGL_EXPORT IB_DESIGNABLE @property (nonatomic, assign) NSEdgeInsets contentInsets; /** - Sets the distance from the edges of the map view’s frame to the edges of the - map view’s logical viewport, with an optional transition animation. + Deprecated. Sets the distance from the edges of the map view’s frame to the + edges of the map view’s logical viewport, with an optional transition animation. When the value of this property is equal to `NSEdgeInsetsZero`, viewport properties such as `centerCoordinate` assume a viewport that matches the map @@ -646,7 +646,7 @@ MGL_EXPORT IB_DESIGNABLE the content insets or `NO` if you want the map to inset the content immediately. */ -- (void)setContentInsets:(NSEdgeInsets)contentInsets animated:(BOOL)animated; +- (void)setContentInsets:(NSEdgeInsets)contentInsets animated:(BOOL)animated __attribute__((deprecated("Use `-setContentInsets:animated:completionHandler:` instead."))); /** Sets the distance from the edges of the map view’s frame to the edges of the |