mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 01:10:34 +00:00
fd8b7dee77
- Unbreak ReactKit | Nick Lockwood - Refactor | Nick Lockwood - [ReactNative] fix touch cancel behavior | Spencer Ahrens - [ReactNative iOS] Fix responder issue with textInput | Eric Vicenti - [ReactNative] README updates - file watching troubleshooting, one-time code drop -> currently private repo | Spencer Ahrens - [ReactKit] Re-add README linebreaks | Ben Alpert
27 lines
750 B
Objective-C
27 lines
750 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "RCTInvalidating.h"
|
|
|
|
@class RCTEventDispatcher;
|
|
|
|
@interface RCTNavigator : UIView <RCTInvalidating>
|
|
|
|
@property (nonatomic, strong) UIView *reactNavSuperviewLink;
|
|
@property (nonatomic, assign) NSInteger requestedTopOfStack;
|
|
|
|
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher;
|
|
|
|
/**
|
|
* Schedules a JavaScript navigation and prevents `UIKit` from navigating until
|
|
* JavaScript has sent its scheduled navigation.
|
|
*
|
|
* @returns Whether or not a JavaScript driven navigation could be
|
|
* scheduled/reserved. If returning `NO`, JavaScript should usually just do
|
|
* nothing at all.
|
|
*/
|
|
- (BOOL)requestSchedulingJavaScriptNavigation;
|
|
|
|
@end
|