diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2019-02-04 10:17:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-04 10:17:51 -0800 |
commit | c49898a5ca3992e6f345d1f86eff7f11203f85e8 (patch) | |
tree | 1d166c2d674bde491c5e93ee64df88354d52347e /platform/ios | |
parent | 8ad13cd577cfdc19611e16bf36ed351432e261b9 (diff) | |
download | qtlocation-mapboxgl-c49898a5ca3992e6f345d1f86eff7f11203f85e8.tar.gz |
[ios, docs] Fix types in jazzy Swift declarations for MGLMapViewDelegate
Also, fix highlighting for one thing.
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/src/MGLCalloutView.h | 2 | ||||
-rw-r--r-- | platform/ios/src/MGLMapViewDelegate.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/src/MGLCalloutView.h b/platform/ios/src/MGLCalloutView.h index a5868ac102..71bae71d07 100644 --- a/platform/ios/src/MGLCalloutView.h +++ b/platform/ios/src/MGLCalloutView.h @@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN Presents a callout view by adding it to `view` and pointing at the given rect of `view`’s bounds. Constrains the callout to the bounds of the given view. */ -- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated __attribute__((unavailable("Use -presentCalloutFromRect:inView:constrainedToRect:animated: instead."))); +- (void)presentCalloutFromRect:(CGRect)rect inView:(UIView *)view constrainedToView:(UIView *)constrainedView animated:(BOOL)animated __attribute__((unavailable("Use `-presentCalloutFromRect:inView:constrainedToRect:animated:` instead."))); /** diff --git a/platform/ios/src/MGLMapViewDelegate.h b/platform/ios/src/MGLMapViewDelegate.h index 30550ca6a1..7e098f340d 100644 --- a/platform/ios/src/MGLMapViewDelegate.h +++ b/platform/ios/src/MGLMapViewDelegate.h @@ -1,6 +1,6 @@ #import <UIKit/UIKit.h> -#import "MGLTypes.h" +#import "Mapbox.h" #import "MGLCameraChangeReason.h" NS_ASSUME_NONNULL_BEGIN |