Created
December 17, 2015 21:16
-
-
Save nickhudkins/16a268f0957bdde92b07 to your computer and use it in GitHub Desktop.
RN Relay "Reset" LOLROFLCOPTER.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BridgeManager.h | |
// | |
// Created by Nick Hudkins on 12/13/15. | |
// | |
#import <Foundation/Foundation.h> | |
#import "RCTBridgeModule.h" | |
@interface BridgeManager : NSObject <RCTBridgeModule> | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BridgeManager.m | |
// | |
// Created by Nick Hudkins on 12/13/15. | |
// | |
#import "RCTBridge.h" | |
#import "BridgeManager.h" | |
@implementation BridgeManager | |
@synthesize bridge = _bridge; | |
RCT_EXPORT_MODULE(); | |
RCT_EXPORT_METHOD(reload) | |
{ | |
[_bridge reload]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment