1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/Telegraph/TGShareSheetView.h
2016-02-25 01:03:51 +01:00

26 lines
826 B
Objective-C

#import <UIKit/UIKit.h>
@class TGShareSheetWindow;
@interface TGShareSheetView : UIView
+ (UIImage *)selectionBackgroundWithFirst:(bool)first last:(bool)last;
@property (nonatomic, weak) TGShareSheetWindow *attachmentSheetWindow;
@property (nonatomic, copy) void (^cancel)();
@property (nonatomic, strong) NSArray *items;
- (void)performAnimated:(bool)animated updates:(void (^)(void))updates completion:(void (^)(void))completion;
- (void)performAnimated:(bool)animated updates:(void (^)(void))updates stickToBottom:(bool)stickToBottom completion:(void (^)(void))completion;
- (void)scrollToBottomAnimated:(bool)animated;
- (void)animateIn;
- (void)animateInInitial:(bool)initial;
- (void)animateOut:(void (^)())completion;
- (void)animateOutForInterchange:(bool)interchange completion:(void (^)())completion;
@end