1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGSharedMediaItemView.h
2015-10-01 19:19:52 +03:00

25 lines
868 B
Objective-C

#import <UIKit/UIKit.h>
#import "TGSharedMediaItem.h"
@class TGSharedMediaImageViewQueue;
@interface TGSharedMediaItemView : UICollectionViewCell
@property (nonatomic, strong) id<TGSharedMediaItem> item;
@property (nonatomic, strong) TGSharedMediaImageViewQueue *imageViewQueue;
@property (nonatomic, copy) bool (^isItemHidden)(id<TGSharedMediaItem>);
@property (nonatomic, copy) bool (^isItemSelected)(id<TGSharedMediaItem>);
@property (nonatomic, copy) void (^toggleItemSelection)(id<TGSharedMediaItem>);
@property (nonatomic) bool editing;
- (void)enqueueImageViewWithUri;
- (UIView *)transitionView;
- (void)updateItemHidden;
- (void)updateItemSelected;
- (void)imageThumbnailUpdated:(NSString *)thumbnaiUri;
- (void)setEditing:(bool)editing animated:(bool)animated;
- (void)setEditing:(bool)editing animated:(bool)animated delay:(NSTimeInterval)delay;
@end