1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 17:09:46 +01:00
Telegram/Telegraph/TGPickerSheet.h
2015-10-01 19:19:52 +03:00

14 lines
341 B
Objective-C

#import <Foundation/Foundation.h>
@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