fix objc syntax error

This commit is contained in:
daviskoh 2015-03-30 18:43:11 -04:00
parent 02298b59e2
commit ed370eeaad
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ It is certainly possible to create a great app using React Native without writin
- (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback
{
RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
}
@end
```