diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-11-17 15:51:27 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-11-17 17:11:08 -0800 |
commit | c4694df37520a6e2e8c6e419198637fd30254d73 (patch) | |
tree | f5724cc4ec5c1abbaf08345266469af278319529 /platform | |
parent | 98462d4af88e46e9df21a2a48344cfd0241e07de (diff) | |
download | qtlocation-mapboxgl-c4694df37520a6e2e8c6e419198637fd30254d73.tar.gz |
more clearly indicate Foundation imports to avoid recursion
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapboxEvents.h | 2 | ||||
-rw-r--r-- | platform/ios/MGLMultiPoint_Private.h | 2 | ||||
-rw-r--r-- | platform/ios/MGLUserLocation_Private.h | 4 | ||||
-rw-r--r-- | platform/ios/NSBundle+MGLAdditions.h | 2 | ||||
-rw-r--r-- | platform/ios/NSString+MGLAdditions.h | 2 |
5 files changed, 11 insertions, 1 deletions
diff --git a/platform/ios/MGLMapboxEvents.h b/platform/ios/MGLMapboxEvents.h index 45f8094954..920a2227fd 100644 --- a/platform/ios/MGLMapboxEvents.h +++ b/platform/ios/MGLMapboxEvents.h @@ -1,3 +1,5 @@ +#import <Foundation/Foundation.h> + #import "MGLTypes.h" NS_ASSUME_NONNULL_BEGIN diff --git a/platform/ios/MGLMultiPoint_Private.h b/platform/ios/MGLMultiPoint_Private.h index a1a70a6778..fe57064a90 100644 --- a/platform/ios/MGLMultiPoint_Private.h +++ b/platform/ios/MGLMultiPoint_Private.h @@ -1,5 +1,7 @@ #import "MGLMultiPoint.h" +#import <CoreLocation/CoreLocation.h> + @interface MGLMultiPoint (Private) - (instancetype)initWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count; diff --git a/platform/ios/MGLUserLocation_Private.h b/platform/ios/MGLUserLocation_Private.h index 892ddfa478..48f6d40e8c 100644 --- a/platform/ios/MGLUserLocation_Private.h +++ b/platform/ios/MGLUserLocation_Private.h @@ -1,9 +1,11 @@ #import "MGLUserLocation.h" -NS_ASSUME_NONNULL_BEGIN +#import <CoreLocation/CoreLocation.h> @class MGLMapView; +NS_ASSUME_NONNULL_BEGIN + @interface MGLUserLocation (Private) @property (nonatomic, weak) MGLMapView *mapView; diff --git a/platform/ios/NSBundle+MGLAdditions.h b/platform/ios/NSBundle+MGLAdditions.h index f3800dfd95..a86e85f79b 100644 --- a/platform/ios/NSBundle+MGLAdditions.h +++ b/platform/ios/NSBundle+MGLAdditions.h @@ -1,3 +1,5 @@ +#import <Foundation/Foundation.h> + #import "MGLTypes.h" NS_ASSUME_NONNULL_BEGIN diff --git a/platform/ios/NSString+MGLAdditions.h b/platform/ios/NSString+MGLAdditions.h index a4941ac857..6064f8b40f 100644 --- a/platform/ios/NSString+MGLAdditions.h +++ b/platform/ios/NSString+MGLAdditions.h @@ -1,3 +1,5 @@ +#import <Foundation/Foundation.h> + #import "MGLTypes.h" NS_ASSUME_NONNULL_BEGIN |