Created
March 4, 2015 14:40
-
-
Save syshen/8393d6de0b3e9543ecff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RACSignal *falseSignal = [RACSignal return:@(NO)]; | |
| RACSignal *triggerSignal = [[RACSignal combineLatest:@[[self rac_didStartLoad], [self rac_didFinishLoad]]] map:^id(id value) { | |
| @strongify(self); | |
| return @(self.canGoForward); | |
| }]; | |
| signal = [RACSignal merge:@[falseSignal, triggerSignal]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment