react-native/React
Nick Lockwood b672294858 Added RCTImageSource
Summary:
public

The +[RCTConvert UIImage:] function, while convenient, is inherently limited by being synchronous, which means that it cannot be used to load remote images, and may not be efficient for local images either. It's also unable to access the bridge, which means that it cannot take advantage of the modular image-loading pipeline.

This diff introduces a new RCTImageSource class which can be used to pass image source objects over the bridge and defer loading until later.

I've also added automatic application of the `resolveAssetSource()` function based on prop type, and fixed up the image logic in NavigatorIOS and TabBarIOS.

Reviewed By: javache

Differential Revision: D2631541

fb-gh-sync-id: 6604635e8bb5394425102487f1ee7cd729321877
2015-12-08 03:32:30 -08:00
..
Base Added RCTImageSource 2015-12-08 03:32:30 -08:00
Executors Expose JS hooks to profile async events 2015-12-01 05:58:31 -08:00
Layout Fix width being ignored when has a value of 0 2015-09-25 15:42:21 -07:00
Modules revert D2707930 2015-12-03 18:29:28 -08:00
Profiler Preserve all return registers on x86_64 trampoline 2015-12-07 06:43:28 -08:00
React.xcodeproj Added RCTImageSource 2015-12-08 03:32:30 -08:00
Views Added RCTImageSource 2015-12-08 03:32:30 -08:00