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

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

@implementation UIDatePicker (YSRACSignalSupport)

- (YSRACChannelTerminal *)ysrac_newDateChannelWithNilValue:(NSDate *)nilValue {
	return [self ysrac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.date) nilValue:nilValue];
}

@end
