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

20 lines
445 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
2016-02-25 01:03:51 +01:00
#import "TGOverlayController.h"
@interface TGPickerSheetOverlayController : TGOverlayController
@end
2015-10-01 18:19:52 +02:00
@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