Swiftgram/LegacyComponents/TGMediaPickerPhotoStripView.h
2017-07-28 16:50:06 +03:00

26 lines
868 B
Objective-C

#import <UIKit/UIKit.h>
@class SSignal;
@class TGMediaPickerGallerySelectedItemsModel;
@class TGMediaSelectionContext;
@class TGMediaEditingContext;
@interface TGMediaPickerPhotoStripView : UIView
@property (nonatomic, weak) TGMediaPickerGallerySelectedItemsModel *selectedItemsModel;
@property (nonatomic, strong) TGMediaSelectionContext *selectionContext;
@property (nonatomic, strong) TGMediaEditingContext *editingContext;
@property (nonatomic, assign) UIInterfaceOrientation interfaceOrientation;
@property (nonatomic, readonly) bool isAnimating;
@property (nonatomic, copy) void (^itemSelected)(NSInteger index);
@property (nonatomic, copy) SSignal *(^thumbnailSignalForItem)(id item);
- (void)setHidden:(bool)hidden animated:(bool)animated;
- (void)reloadData;
- (void)insertItemAtIndex:(NSInteger)index;
- (void)deleteItemAtIndex:(NSInteger)index;
@end