UISlider+RACSignalSupport.h 652 B

12345678910111213141516171819202122232425
  1. //
  2. // UISlider+RACSignalSupport.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Uri Baghin on 20/07/2013.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class RACChannelTerminal;
  10. @interface UISlider (RACSignalSupport)
  11. /// Creates a new RACChannel-based binding to the receiver.
  12. ///
  13. /// nilValue - The value to set when the terminal receives `nil`.
  14. ///
  15. /// Returns a RACChannelTerminal that sends the receiver's value whenever the
  16. /// UIControlEventValueChanged control event is fired, and sets the value to the
  17. /// values it receives.
  18. - (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue;
  19. @end