Skip to content

Instantly share code, notes, and snippets.

@theseyi
Forked from nickhudkins/BridgeManager.h
Created May 21, 2016 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theseyi/cc56f74b9bbfd0a507859d8e9f492454 to your computer and use it in GitHub Desktop.
Save theseyi/cc56f74b9bbfd0a507859d8e9f492454 to your computer and use it in GitHub Desktop.
RN Relay "Reset" LOLROFLCOPTER.
//
// BridgeManager.h
//
// Created by Nick Hudkins on 12/13/15.
//
#import <Foundation/Foundation.h>
#import "RCTBridgeModule.h"
@interface BridgeManager : NSObject <RCTBridgeModule>
@end
//
// 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