| // UIControl+RACSignalSupportPrivate.h |
| // Created by Uri Baghin on 06/08/2013. |
| // Copyright (c) 2013 GitHub, Inc. All rights reserved. |
| @class RACChannelTerminal; |
| @interface UIControl (RACSignalSupportPrivate) |
| // Adds a RACChannel-based interface to the receiver for the given |
| // UIControlEvents and exposes it. |
| // controlEvents - A mask of UIControlEvents on which to send new values. |
| // key - The key whose value should be read and set when a control |
| // event fires and when a value is sent to the |
| // RACChannelTerminal respectively. |
| // nilValue - The value to be assigned to the key when `nil` is sent to the |
| // Returns a RACChannelTerminal which will send future values from the receiver, |
| // and update the receiver when values are sent to the terminal. |
| - (RACChannelTerminal *)rac_channelForControlEvents:(UIControlEvents)controlEvents key:(NSString *)key nilValue:(id)nilValue; |