20 lines
533 B
Objective-C
20 lines
533 B
Objective-C
//
|
|
// UISlider+RACSignalSupport.m
|
|
// ReactiveObjC
|
|
//
|
|
// Created by Uri Baghin on 20/07/2013.
|
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "UISlider+RACSignalSupport.h"
|
|
#import <ReactiveObjC/RACEXTKeyPathCoding.h>
|
|
#import "UIControl+RACSignalSupportPrivate.h"
|
|
|
|
@implementation UISlider (RACSignalSupport)
|
|
|
|
- (RACChannelTerminal *)rac_newValueChannelWithNilValue:(NSNumber *)nilValue {
|
|
return [self rac_channelForControlEvents:UIControlEventValueChanged key:@keypath(self.value) nilValue:nilValue];
|
|
}
|
|
|
|
@end
|