react-native/React
Kevin Gozali 47bfbbb1d3 iOS: introduce RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD() macro to provide the return type of a sync method
Summary:
This provides a way to customize the return type of a sync exported method, instead of just using `id`.

```
RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSString *, sync1:(NSString *)x)
{
  return @"hello";
}
```

The return type needs to be a sub type of `id` - so scalars like `double` won't work (the bridge will crash).

Differential Revision: D6068884

fbshipit-source-id: 43a98141f1d0aef335aa0b33a24219f8e574e58b
2017-10-17 06:15:13 -07:00
..
Base iOS: introduce RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD() macro to provide the return type of a sync method 2017-10-17 06:15:13 -07:00
CxxBridge add "jsBundlesDirectory" method to RCTBridgeDelegate 2017-10-12 12:33:21 -07:00
CxxModule Remove usage of "this" in a callback in RCTNativeModule 2017-10-04 06:00:09 -07:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport Unify sampling profiler and reload logic by leveraging RCTPackagerConnection 2017-10-04 19:17:06 -07:00
Executors Add more information to `__fbBatchedBridge is undefined` error 2017-07-26 11:21:59 -07:00
Inspector Remove 'Debug JS on-device (experimental)' feature 2017-08-29 04:29:57 -07:00
Modules Make RCTUIManager and RCTDeviceInfo unsubscribe from NSNotificationCenter on 2017-10-10 05:10:05 -07:00
Profiler Bunch of utility funcs were moved to RCTUIManagerUtils 2017-09-26 14:08:28 -07:00
React.xcodeproj SafeAreaView was added to OSS RNTester project file 2017-10-03 11:30:56 -07:00
ReactLegacy.xcodeproj Bunch of utility funcs were moved to RCTUIManagerUtils 2017-09-26 14:08:28 -07:00
Views Deprecated stuff was removed from RCTShadowView 2017-10-09 17:22:35 -07:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00