//
//  UISwitch+YSRACSignalSupport.m
//  ReactiveObjC
//
//  Created by Uri Baghin on 20/07/2013.
//  Copyright (c) 2013 GitHub, Inc. All rights reserved.
//

#import "UISwitch+YSRACSignalSupport.h"
#import "YSRACEXTKeyPathCoding.h"
#import "UIControl+YSRACSignalSupportPrivate.h"

@implementation UISwitch (YSRACSignalSupport)

- (YSRACChannelTerminal *)ysrac_newOnChannel {
	return [self ysrac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.on) nilValue:@NO];
}

@end
