Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
__weak id weakSelf = self;
RACSignal *annotations = [self.selectedRegion map:^NSArray*(WTFRegion *region) {
id strongSelf = self;
return [strongSelf fetchAnnotationsForRegion:region];
}];
[self.mapView rac_liftSelector:@selector(addAnnotations:)
withSignals:annotations, nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment