Optimized property setting and conversion

This commit is contained in:
Nick Lockwood
2015-07-24 09:34:18 -07:00
parent 4499f28c1d
commit 81dd9c27ea
2 changed files with 108 additions and 30 deletions

View File

@@ -91,7 +91,7 @@ RCT_NOT_IMPLEMENTED(-init)
[argumentBlocks addObject:^(__unused RCTBridge *bridge, NSInvocation *invocation, NSUInteger index, id json) { \
_logic \
[invocation setArgument:&value atIndex:index]; \
}]; \
}];
void (^addBlockArgument)(void) = ^{
RCT_ARG_BLOCK(