newsmemory-ios-sdk/Frameworks/react-native-pager-view.xcf.../ios-arm64/Headers/RNCPagerViewComponentView.h

28 lines
872 B
C
Raw Normal View History

2024-03-06 10:57:49 +00:00
#ifdef RCT_NEW_ARCH_ENABLED
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <React/RCTViewComponentView.h>
#import "UIViewController+CreateExtension.h"
NS_ASSUME_NONNULL_BEGIN
@interface RNCPagerViewComponentView : RCTViewComponentView <UIPageViewControllerDataSource, UIPageViewControllerDelegate, UIScrollViewDelegate>
@property(strong, nonatomic, readonly) UIPageViewController *nativePageViewController;
@property(nonatomic, strong) NSMutableArray<UIViewController *> *nativeChildrenViewControllers;
@property(nonatomic) NSInteger initialPage;
@property(nonatomic) NSInteger currentIndex;
@property(nonatomic) NSInteger destinationIndex;
@property(nonatomic) NSString* layoutDirection;
@property(nonatomic) BOOL overdrag;
- (void)setPage:(NSInteger)number;
- (void)setPageWithoutAnimation:(NSInteger)number;
@end
NS_ASSUME_NONNULL_END
#endif