summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-02-01 13:09:34 -0800
committerJason Wray <jason@mapbox.com>2019-02-01 13:38:08 -0800
commit4ced3cb56baf165f765e66cbc182344ebc879827 (patch)
treed833ced81955b05a1614e480c8e338c4f44d4695
parentd7f71a2399fb9d988ded1e3cdf0e1fd80be83d54 (diff)
downloadqtlocation-mapboxgl-upstream/friedbunny-imports-header-to-fix-jazzy-swift-declaration.tar.gz
[ios, docs] Fix types in jazzy Swift declarationsupstream/friedbunny-imports-header-to-fix-jazzy-swift-declaration
Also, fix highlighting for one thing.
-rw-r--r--platform/ios/src/MGLCalloutView.h2
-rw-r--r--platform/ios/src/MGLMapViewDelegate.h2
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