Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRCLoginViewController.m 66行判断有点问题 #256

Open
liuaaaddxiaoer opened this issue Sep 6, 2018 · 1 comment
Open

MRCLoginViewController.m 66行判断有点问题 #256

liuaaaddxiaoer opened this issue Sep 6, 2018 · 1 comment

Comments

@liuaaaddxiaoer
Copy link

@weakify(self)
[[self
rac_signalForSelector:@selector(textFieldShouldReturn:)
fromProtocol:@protocol(UITextFieldDelegate)]
subscribeNext:^(RACTuple *tuple) {
@strongify(self)
if (tuple.first == self.passwordTextField && self.loginButton.enabled) {
[self.viewModel.loginCommand execute:nil];
}else {
NSLog(@"提示用户要输入账号或密码信息");
}
}];

@leichunfeng
Copy link
Owner

有什么问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants