-
-
Save theseyi/cc56f74b9bbfd0a507859d8e9f492454 to your computer and use it in GitHub Desktop.
RN Relay "Reset" LOLROFLCOPTER.
This file contains hidden or 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 hidden or 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