Enabling an UIButton using Reactive Cocoa RACSignal
问题 I have a UIButton added to a view. My view also has three text box viz. username , password and confirmPassword . Based on the legitimate content of these text box, I need to enable my signUp button. Here is my code snippet :- UIButton *signUp = [[UIButton alloc]initWithFrame:CGRectMake(10, 100, 50, 20)]; signUp.backgroundColor = [UIColor greenColor]; signUp.enabled = NO ; [self.view addSubview:signUp]; RACSignal *formValid = [RACSignal combineLatest:@[ username.rac_textSignal, password.rac