blob: 75626ad9766d06df4d16cffe7705819886d7228d [file] [log] [blame] [edit]
//
// UISlider+RACSignalSupport.h
// ReactiveCocoa
//
// Created by Uri Baghin on 20/07/2013.
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RACChannelTerminal;
@interface UISlider (RACSignalSupport)
/// Creates a new RACChannel-based binding to the receiver.
///
/// nilValue - The value to set when the terminal receives `nil`.
///
/// Returns a RACChannelTerminal that sends the receiver's value whenever the
/// UIControlEventValueChanged control event is fired, and sets the value to the
/// values it receives.
- (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue;
@end