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

18 lines
547 B
Objective-C

#import "TGCollectionItem.h"
@interface TGWatchReplyCollectionItem : TGCollectionItem
@property (nonatomic, strong) NSString *identifier;
@property (nonatomic, strong) NSString *value;
@property (nonatomic, strong) NSString *placeholder;
@property (nonatomic, copy) void (^valueChanged)(NSString *);
@property (nonatomic, copy) void (^inputReturned)(void);
- (instancetype)initWithIdentifier:(NSString *)identifier value:(NSString *)value placeholder:(NSString *)placeholder;
- (void)becomeFirstResponder;
- (void)resignFirstResponder;
@end