Swiftgram/submodules/LegacyComponents/Sources/TGMediaPickerSelectionGestureRecognizer.h
2020-02-22 15:38:54 +04:00

13 lines
377 B
Objective-C

#import <LegacyComponents/TGMediaSelectionContext.h>
#import <UIKit/UIKit.h>
@interface TGMediaPickerSelectionGestureRecognizer : NSObject
@property (nonatomic, copy) bool (^isItemSelected)(NSIndexPath *);
@property (nonatomic, copy) void (^toggleItemSelection)(NSIndexPath *);
- (instancetype)initForCollectionView:(UICollectionView *)collectionView;
- (void)cancel;
@end