2018-05-08 18:50:10 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
#import <React/RCTViewComponentView.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
/**
|
2018-07-30 10:55:49 -07:00
|
|
|
* `UIScrollView` subclass which has some improvements and tweaks
|
2018-05-17 20:03:41 -07:00
|
|
|
* wich are not directly related to React.
|
2018-05-08 18:50:10 -07:00
|
|
|
*/
|
2018-05-17 20:03:41 -07:00
|
|
|
@interface RCTEnhancedScrollView : UIScrollView
|
|
|
|
|
|
|
|
@property (nonatomic, assign) BOOL pinchGestureEnabled;
|
|
|
|
@property (nonatomic, assign) BOOL centerContent;
|
2018-05-08 18:50:10 -07:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|