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

24 lines
723 B
Objective-C

#import <UIKit/UIKit.h>
#import <SSignalKit/SSignalKit.h>
#import <LegacyComponents/TGImageView.h>
@class TGMediaSelectionContext;
@class TGMediaEditingContext;
@interface TGClipboardPreviewCell : UICollectionViewCell
@property (nonatomic, readonly) UIImage *image;
@property (nonatomic, readonly) TGImageView *imageView;
@property (nonatomic, strong) TGMediaSelectionContext *selectionContext;
@property (nonatomic, strong) TGMediaEditingContext *editingContext;
- (void)setCornersImage:(UIImage *)cornersImage;
- (void)setImage:(UIImage *)image signal:(SSignal *)signal hasCheck:(bool)hasCheck;
- (void)setHidden:(bool)hidden animated:(bool)animated;
@end
extern NSString *const TGClipboardPreviewCellIdentifier;