Skip to content

Commit

Permalink
Update headers for RN@0.40.0 (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
sntran authored and Bobby Sudekum committed Feb 7, 2017
1 parent 0709ae6 commit 3df91c5
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 27 deletions.
4 changes: 2 additions & 2 deletions ios/RCTMapboxGL/RCTMapboxAnnotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#import <Mapbox/Mapbox.h>
#import <UIKit/UIKit.h>

#import "RCTConvert+MapKit.h"
#import "RCTComponent.h"
#import <React/RCTConvert+MapKit.h>
#import <React/RCTComponent.h>
#import "RCTMapboxGL.h"

@class RCTBridge;
Expand Down
8 changes: 4 additions & 4 deletions ios/RCTMapboxGL/RCTMapboxAnnotation.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

#import "RCTMapboxAnnotation.h"

#import "RCTEventDispatcher.h"
#import "UIView+React.h"
#import "RCTBridge.h"
#import "RCTUtils.h"
#import <React/RCTEventDispatcher.h>
#import <React/UIView+React.h>
#import <React/RCTBridge.h>
#import <React/RCTUtils.h>

@implementation RCTMapboxAnnotation {
}
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMapboxGL/RCTMapboxAnnotationManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/

#import "RCTViewManager.h"
#import <React/RCTViewManager.h>

@interface RCTMapboxAnnotationManager : RCTViewManager

Expand Down
6 changes: 3 additions & 3 deletions ios/RCTMapboxGL/RCTMapboxAnnotationManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#import "RCTMapboxAnnotationManager.h"

#import "RCTUIManager.h"
#import "RCTConvert+CoreLocation.h"
#import "UIView+React.h"
#import <React/RCTUIManager.h>
#import <React/RCTConvert+CoreLocation.h>
#import <React/UIView+React.h>
#import "RCTMapboxAnnotation.h"

@interface RCTMapboxAnnotationManager () <MGLMapViewDelegate>
Expand Down
6 changes: 3 additions & 3 deletions ios/RCTMapboxGL/RCTMapboxGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//

#import <Mapbox/Mapbox.h>
#import "RCTView.h"
#import "RCTEventDispatcher.h"
#import "RCTBridgeModule.h"
#import <React/RCTView.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTBridgeModule.h>

@interface RCTMapboxGL : RCTView <MGLMapViewDelegate>

Expand Down
8 changes: 4 additions & 4 deletions ios/RCTMapboxGL/RCTMapboxGL.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
//

#import "RCTMapboxGL.h"
#import "RCTBridgeModule.h"
#import "RCTEventDispatcher.h"
#import "UIView+React.h"
#import "RCTLog.h"
#import <React/RCTBridgeModule.h>
#import <React/RCTEventDispatcher.h>
#import <React/UIView+React.h>
#import <React/RCTLog.h>
#import "RCTMapboxGLConversions.h"
#import "RCTMapboxAnnotation.h"

Expand Down
4 changes: 2 additions & 2 deletions ios/RCTMapboxGL/RCTMapboxGLConversions.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
//

#import <Foundation/Foundation.h>
#import "RCTConvert+CoreLocation.h"
#import "RCTConvert+MapKit.h"
#import <React/RCTConvert+CoreLocation.h>
#import <React/RCTConvert+MapKit.h>
#import "RCTMapboxGL.h"

UIImage *imageFromSource (NSDictionary *source)
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMapboxGL/RCTMapboxGLManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2015 Mapbox. All rights reserved.
//

#import "RCTViewManager.h"
#import <React/RCTViewManager.h>

@interface RCTMapboxGLManager : RCTViewManager {
NSMutableSet * _recentPacks;
Expand Down
12 changes: 6 additions & 6 deletions ios/RCTMapboxGL/RCTMapboxGLManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#import "RCTMapboxGLManager.h"
#import "RCTMapboxGL.h"
#import <Mapbox/Mapbox.h>
#import "RCTConvert+CoreLocation.h"
#import "RCTConvert+MapKit.h"
#import "RCTBridge.h"
#import "RCTEventDispatcher.h"
#import "UIView+React.h"
#import "RCTUIManager.h"
#import <React/RCTConvert+CoreLocation.h>
#import <React/RCTConvert+MapKit.h>
#import <React/RCTBridge.h>
#import <React/RCTEventDispatcher.h>
#import <React/UIView+React.h>
#import <React/RCTUIManager.h>
#import "RCTMapboxGLConversions.h"
#import "MGLPolygon+RCTAdditions.h"
#import "MGLPolyline+RCTAdditions.h"
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-mapbox-gl",
"description": "A Mapbox GL react native module for creating custom maps",
"version": "5.1.0",
"version": "5.2.0",
"author": "Bobby Sudekum",
"keywords": [
"gl",
Expand Down Expand Up @@ -36,5 +36,9 @@
"dependencies": {
"babel-eslint": "^6.1.2",
"lodash": "^4.13.1"
},
"peerDependencies": {
"react": ">=15.4.0",
"react-native": ">=0.40"
}
}

0 comments on commit 3df91c5

Please sign in to comment.