From 4ced3cb56baf165f765e66cbc182344ebc879827 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Fri, 1 Feb 2019 13:09:34 -0800 Subject: [ios, docs] Fix types in jazzy Swift declarations Also, fix highlighting for one thing. --- platform/ios/src/MGLCalloutView.h | 2 +- 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 -#import "MGLTypes.h" +#import "Mapbox.h" #import "MGLCameraChangeReason.h" NS_ASSUME_NONNULL_BEGIN -- cgit v1.2.1