房间公屏的UI

This commit is contained in:
fengshuo
2021-10-26 19:10:03 +08:00
parent 466a6cacd6
commit 66f3aa50e1
14 changed files with 560 additions and 5 deletions

View File

@@ -105,7 +105,7 @@
- (void)initEvents {
@weakify(self);
RAC(self.nextButton, enabled) = [[RACSignal combineLatest:@[self.phoneView.textField.rac_textSignal, self.codeView.textField.rac_textSignal] reduce:^id _Nonnull(NSString *phone, NSString* password){
return @(phone.length ==11 && password.length >= 6);
return @((phone.length ==11) && password.length >= 6);
}] takeUntil:self.rac_willDeallocSignal];
[[self.forgetPasswordButton rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(__kindof UIControl * _Nullable x) {