mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Added non-class-scanning-based approach fror registering js methods
This commit is contained in:
1 parent
21a054e9fc
commit
bf4868edda
55 files changed
+283
-237
No files matched your search
@@ -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])) {
|
||||
|
||||
Reference in new issue
Block a user