mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-27 22:54:46 +08:00
Ported TabBarIOS to OSS and unified implementation
This commit is contained in:
13
ReactKit/Views/RCTViewControllerProtocol.h
Normal file
13
ReactKit/Views/RCTViewControllerProtocol.h
Normal 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
|
||||
Reference in New Issue
Block a user