[ios, docs] Fix types in jazzy Swift declarations for MGLMapViewDelegate

Also, fix highlighting for one thing.
This commit is contained in:
Jason Wray
2019-02-04 10:17:51 -08:00
committed by GitHub
parent 8ad13cd577
commit c49898a5ca
2 changed files with 2 additions and 2 deletions

View File

@@ -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.")));
/**

View File

@@ -1,6 +1,6 @@
#import <UIKit/UIKit.h>
#import "MGLTypes.h"
#import "Mapbox.h"
#import "MGLCameraChangeReason.h"
NS_ASSUME_NONNULL_BEGIN