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

14 lines
341 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#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