Skip to content

Commit

Permalink
Fixed typo in method name that was caught by Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Abbey Jackson committed May 10, 2016
1 parent d1d14b9 commit 7ae0b9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ThunderCats/UITextField+TCAdditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
*/
- (void)tc_addToolbarWithButton:(NSString * __tc_nonnull)buttonTitle
toolbarColor:(UIColor * __tc_nonnull)toolbarColor
withTarget:(id __tc_nullable)target
target:(id __tc_nullable)target
action:(SEL __tc_nullable)selector;

@end
4 changes: 2 additions & 2 deletions ThunderCats/UITextField+TCAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ - (void)tc_setLeftAndRightPadding:(CGFloat)paddingWidth
- (void)tc_addToolbarWithNextButton:(UITextField * __tc_nonnull)nextTextField
toolbarColor:(UIColor * __tc_nonnull)toolbarColor
{
[self tc_addToolbarWithButton:@"Next" toolbarColor:toolbarColor withTarget:nextTextField action:@selector(becomeFirstResponder)];
[self tc_addToolbarWithButton:@"Next" toolbarColor:toolbarColor target:nextTextField action:@selector(becomeFirstResponder)];
}

- (void)tc_addToolbarWithButton:(NSString * __tc_nonnull)buttonTitle withToolbarColor:(UIColor * __tc_nonnull)toolbarColor target:(id)target action:(SEL)selector
- (void)tc_addToolbarWithButton:(NSString * __tc_nonnull)buttonTitle toolbarColor:(UIColor * __tc_nonnull)toolbarColor target:(id)target action:(SEL)selector
{
UIBarButtonItem *button = [[UIBarButtonItem init] initWithTitle:buttonTitle style:UIBarButtonItemStylePlain target:target action:selector];
[self addToolBarWithButton:button toolbarColor:toolbarColor];
Expand Down

0 comments on commit 7ae0b9d

Please sign in to comment.