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

18 lines
590 B
Objective-C

#import <UIKit/UIKit.h>
@interface TGMediaPickerToolbarView : UIView
@property (nonatomic, strong) UIImage *attributionImage;
@property (nonatomic, strong) NSString *leftButtonTitle;
@property (nonatomic, strong) NSString *rightButtonTitle;
@property (nonatomic, copy) void (^leftPressed)(void);
@property (nonatomic, copy) void (^rightPressed)(void);
- (void)setRightButtonHidden:(bool)hidden;
- (void)setRightButtonEnabled:(bool)enabled animated:(bool)animated;
- (void)setSelectedCount:(NSInteger)count animated:(bool)animated;
@end
extern const CGFloat TGMediaPickerToolbarHeight;