Swiftgram/LegacyComponents/TGModernGalleryScrollView.h
2017-07-22 01:05:13 +03:00

17 lines
417 B
Objective-C

#import <UIKit/UIKit.h>
@protocol TGModernGalleryScrollViewDelegate <NSObject>
- (bool)scrollViewShouldScrollWithTouchAtPoint:(CGPoint)point;
- (void)scrollViewBoundsChanged:(CGRect)bounds;
@end
@interface TGModernGalleryScrollView : UIScrollView
@property (nonatomic, weak) id<TGModernGalleryScrollViewDelegate> scrollDelegate;
- (void)setFrameAndBoundsInTransaction:(CGRect)frame bounds:(CGRect)bounds;
@end