blob: 1c110662f99e66b6a6fa51238d90025bcfbe0e85 [file] [log] [blame] [edit]
//
// UIDatePicker+RACSignalSupport.m
// ReactiveCocoa
//
// Created by Uri Baghin on 20/07/2013.
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
//
#import "UIDatePicker+RACSignalSupport.h"
#import "RACEXTKeyPathCoding.h"
#import "UIControl+RACSignalSupport.h"
#import "UIControl+RACSignalSupportPrivate.h"
@implementation UIDatePicker (RACSignalSupport)
- (RACChannelTerminal *)rac_newDateChannelWithNilValue:(NSDate *)nilValue {
return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.date) nilValue:nilValue];
}
@end