Skip to content

Commit

Permalink
Updated comments & channel events for the previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
drhr committed Feb 7, 2014
1 parent 7607751 commit d41d33f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

/// Creates and returns a signal for the text of the field. It always starts with
/// the current text. The signal sends next when the UIControlEventEditingChanged
/// control event is fired on the control.
/// or UIControlEventEditingDidBegin control event is fired on the control.
- (RACSignal *)rac_textSignal;

/// Creates a new RACChannel-based binding to the receiver.
///
/// Returns a RACChannelTerminal that sends the receiver's text whenever the
/// UIControlEventEditingChanged control event is fired, and sets the text to the
/// values it receives.
/// UIControlEventEditingChanged or UIControlEventEditingDidBegin control event
/// is fired, and sets the text to the values it receives.
- (RACChannelTerminal *)rac_newTextChannel;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ - (RACSignal *)rac_textSignal {
}

- (RACChannelTerminal *)rac_newTextChannel {
return [self rac_channelForControlEvents:UIControlEventEditingChanged key:@keypath(self.text) nilValue:@""];
return [self rac_channelForControlEvents:UIControlEventEditingChanged|UIControlEventEditingDidBegin key:@keypath(self.text) nilValue:@""];
}

@end

0 comments on commit d41d33f

Please sign in to comment.