Permalink
Browse files

catchToMaybe => asMaybes

  • Loading branch information...
1 parent a8b7649 commit 11319840846a82a3e47025f239eea8797e3ac3d0 @joshaber joshaber committed Apr 18, 2012
View
2 ReactiveCocoaFramework/ReactiveCocoa/RACSubscribable+Operations.h
@@ -94,7 +94,7 @@ typedef NSInteger RACSubscribableError;
- (RACSubscribable *)takeUntilBlock:(BOOL (^)(id x))predicate;
// Convert every `next` and `error` into a RACMaybe.
-- (RACSubscribable *)catchToMaybe;
+- (RACSubscribable *)asMaybes;
// Subscribe to the returned subscribable when an error occurs.
- (RACSubscribable *)catch:(id<RACSubscribable> (^)(NSError *error))catchBlock;
View
2 ReactiveCocoaFramework/ReactiveCocoa/RACSubscribable+Operations.m
@@ -121,7 +121,7 @@ - (RACSubscribable *)repeat {
}];
}
-- (RACSubscribable *)catchToMaybe {
+- (RACSubscribable *)asMaybes {
return [RACSubscribable createSubscribable:^(id<RACSubscriber> observer) {
__block RACDisposable *currentDisposable = nil;

0 comments on commit 1131984

Please sign in to comment.