Added non-class-scanning-based approach fror registering js methods

This commit is contained in:
Nick Lockwood committed 2015-04-08 05:45:20 -08:00
1 parent 21a054e9fc
commit bf4868edda
55 files changed
+283 -237

No files matched your search

+4 -1
View File
@@ -13,12 +13,15 @@
#import "RCTAssert.h"
#import "RCTLog.h"
@implementation RCTTestModule {
@implementation RCTTestModule
{
__weak FBSnapshotTestController *_snapshotController;
__weak UIView *_view;
NSMutableDictionary *_snapshotCounter;
}
RCT_EXPORT_MODULE()
- (instancetype)initWithSnapshotController:(FBSnapshotTestController *)controller view:(UIView *)view
{
if ((self = [super init])) {