react-native/Libraries/Components/TabBarIOS
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
..
TabBarIOS.android.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
TabBarIOS.ios.js Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TabBarItemIOS.android.js [ReactNative] Get rid of another pair of unnecessary Dimensions.get('window') 2015-04-16 12:10:55 -08:00
TabBarItemIOS.ios.js Added RCTImageSource 2015-12-08 03:32:30 -08:00