mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 21:05:40 +08:00
Added non-class-scanning-based approach fror registering js methods
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
@implementation RCTSwitchManager
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (UIView *)view
|
||||
{
|
||||
RCTSwitch *switcher = [[RCTSwitch alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user