Ported TabBarIOS to OSS and unified implementation

This commit is contained in:
Nick Lockwood
2015-03-05 16:36:41 -08:00
parent ab2537816f
commit fb2f063ef5
51 changed files with 1148 additions and 478 deletions

View File

@@ -0,0 +1,13 @@
// Copyright 2004-present Facebook. All Rights Reserved.
/**
* A simple protocol that any React-managed ViewControllers should implement.
* We need all of our ViewControllers to cache layoutGuide changes so any View
* in our View hierarchy can access accurate layoutGuide info at any time.
*/
@protocol RCTViewControllerProtocol <NSObject>
@property (nonatomic, readonly, strong) id<UILayoutSupport> currentTopLayoutGuide;
@property (nonatomic, readonly, strong) id<UILayoutSupport> currentBottomLayoutGuide;
@end