1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 02:17:51 +01:00
Telegram/Telegraph/AdHoc/TGUsernameCollectionItem.h
2015-10-01 19:19:52 +03:00

21 lines
567 B
Objective-C

#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