BMXMessageConfig Class Reference
Inherits from NSObject
Declared in BMXMessageConfig.h
Properties
groupMemberList
@property (nonatomic, strong) NSArray<NSString*> *groupMemberList
mentionAll
@property (nonatomic, assign) BOOL mentionAll
mentionList
@property (nonatomic, strong) NSArray<NSString*> *mentionList
mentionMessage
@property (nonatomic, copy) NSString *mentionMessage
pushMessage
@property (nonatomic, copy) NSString *pushMessage
senderName
@property (nonatomic, copy) NSString *senderName
Instance Methods
addGroupMember:
- (void)addGroupMember:(NSString *)*rosterId*
clealerGroupMemberList
- (void)clealerGroupMemberList
initConfigWithMentionAll:
- (instancetype)initConfigWithMentionAll:(BOOL)*isMentionAll*
- (BMXMessageConfig *)dealtWithConfigjson {
BMXMessageConfig *config = [[BMXMessageConfig alloc] initConfigWithMentionAll:NO];
removeGroupMember:
- (void)removeGroupMember:(NSString *)*rosterId*
username
- (NSString *)username
Example:
- (void)textFieldDidChange:(UITextField *)textField {
if (textField.tag == kUsernameTextFieldTag) {
self.username = textField.text;
}else if (textField.tag == kPasswordTextFieldTag){
self.password = textField.text;
}
if (textField.tag == kUsernameTextFieldTag && [textField.text length] > 0) {
self.captchButton.enabled = YES;
}
if (self.username.length > 0 && self.password.length > 0) {
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *password;
@property (nonatomic, strong) CodeTimerManager *codeTimerManager;
@property (nonatomic, strong) UIButton *logButton;
//@property (nonatomic, strong) DropdownListView *tableview;
@end
@implementation LoginView
+ (instancetype)createLoginVieWithTitle:(NSString *)title {
LoginView *loginView = [[LoginView alloc] initWithFrame:CGRectMake(0, 0, MAXScreenW, MAXScreenH) title:title];
return loginView;
}