Skip to content

Commit

Permalink
removeFromSuperview signal
Browse files Browse the repository at this point in the history
  • Loading branch information
foxsofter authored and foxsofter committed Dec 12, 2016
1 parent bd0d315 commit b6dd8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LPDTableViewKit/Classes/LPDTableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ - (void)bindingTo:(__kindof id<LPDTableViewModelProtocol>)viewModel {

@weakify(self);
RACSignal *viewDidLoadedSignal = [self rac_signalForSelector:@selector(didMoveToSuperview)];
[[viewDidLoadedSignal takeUntil:[self rac_willDeallocSignal]]
[[viewDidLoadedSignal takeUntil:[self rac_signalForSelector:@selector(removeFromSuperview)]]
subscribeNext:^(id x) {
@strongify(self);

Expand Down

0 comments on commit b6dd8f5

Please sign in to comment.