UITableViewCell+RACSignalSupport.h 692 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // UITableViewCell+RACSignalSupport.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Justin Spahr-Summers on 2013-07-22.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class RACSignal;
  10. @interface UITableViewCell (RACSignalSupport)
  11. /// A signal which will send a RACUnit whenever -prepareForReuse is invoked upon
  12. /// the receiver.
  13. ///
  14. /// Examples
  15. ///
  16. /// [[[self.cancelButton
  17. /// rac_signalForControlEvents:UIControlEventTouchUpInside]
  18. /// takeUntil:self.rac_prepareForReuseSignal]
  19. /// subscribeNext:^(UIButton *x) {
  20. /// // do other things
  21. /// }];
  22. @property (nonatomic, strong, readonly) RACSignal *rac_prepareForReuseSignal;
  23. @end