Declared in UISegmentedControl+RACSignalSupport.h
UISegmentedControl+RACSignalSupport.m

Instance Methods

rac_newSelectedSegmentIndexChannelWithNilValue:

Creates a new RACChannel-based binding to the receiver.

- (RACChannelTerminal *)rac_newSelectedSegmentIndexChannelWithNilValue:(NSNumber *)nilValue

Discussion

nilValue - The segment to select when the terminal receives nil.

Returns a RACChannelTerminal that sends the receiver’s currently selected segment’s index whenever the UIControlEventValueChanged control event is fired, and sets the selected segment index to the values it receives.

Declared In

UISegmentedControl+RACSignalSupport.h