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

20 lines
445 B
Objective-C

#import <Foundation/Foundation.h>
#import "TGOverlayController.h"
@interface TGPickerSheetOverlayController : TGOverlayController
@end
@interface TGPickerSheet : NSObject
@property (nonatomic, strong) NSString *emptyValue;
- (instancetype)initWithItems:(NSArray *)items selectedIndex:(NSUInteger)selectedIndex action:(void (^)(id item))action;
- (void)show;
- (void)showFromRect:(CGRect)rect inView:(UIView *)view;
- (void)dismiss;
@end