1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Telegraph/AdHoc/TGUsernameCollectionItem.h

21 lines
567 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGCollectionItem.h"
@interface TGUsernameCollectionItem : TGCollectionItem
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *placeholder;
@property (nonatomic, strong) NSString *prefix;
@property (nonatomic, strong) NSString *username;
@property (nonatomic) bool usernameValid;
@property (nonatomic) bool usernameChecking;
@property (nonatomic) bool secureEntry;
@property (nonatomic) UIKeyboardType keyboardType;
@property (nonatomic, copy) void (^usernameChanged)(NSString *);
- (void)becomeFirstResponder;
@end