KevinHM / FunctionalReactiveProgrammingOniOS

Functional reactive programming introduction using ReactiveCocoa 中文译本

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

self.button 修改为self.textField

RaulVan opened this issue · comments

/chapter4/deriving_state.md

RAC(self.button, textColor) = [validEmailSignal map: ^id (id value){
    if([value boolValue]){
        return [UIColor greenColor];
    }else{
        return [UIColor redColor];
    }
}];

self.button 修改为 self.textFiled

不小心close了

@RaulVan 再提交一下。。。