Skip to content

Instantly share code, notes, and snippets.

@nickhudkins
Created December 17, 2015 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save nickhudkins/16a268f0957bdde92b07 to your computer and use it in GitHub Desktop.
Save nickhudkins/16a268f0957bdde92b07 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