Skip to content

Instantly share code, notes, and snippets.

@jacksonh
Created April 24, 2014 02:29
Show Gist options
  • Save jacksonh/11239440 to your computer and use it in GitHub Desktop.
Save jacksonh/11239440 to your computer and use it in GitHub Desktop.
- (RACSignal *)foo
{
return [[self someSignal] flattenMap] flattenMap:^RACStream *(id value) {
// ... some logic in here
// But for some reason I've decided to return foo again
return [self foo];
}];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment