Skip to content

Commit

Permalink
Merge pull request #48 from eliburke/master
Browse files Browse the repository at this point in the history
expose the tint color of the text field (to control the cursor color)
  • Loading branch information
tristanhimmelman committed Sep 14, 2015
2 parents fdfefe0 + c18d61e commit 60c791a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Classes/THContactPickerView.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
- (void)setPromptLabelText:(NSString *)text;
- (void)setPromptLabelAttributedText:(NSAttributedString *)attributedText;
- (void)setPromptLabelTextColor:(UIColor *)color;
- (void)setPromptTintColor:(UIColor *)color;
- (void)setFont:(UIFont *)font;

@end
4 changes: 4 additions & 0 deletions Classes/THContactPickerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ - (void)setPromptLabelTextColor:(UIColor *)color{
self.promptLabel.textColor = color;
}

- (void)setPromptTintColor:(UIColor *)color{
self.textField.tintColor = color;
}

- (void)setBackgroundColor:(UIColor *)backgroundColor{
self.scrollView.backgroundColor = backgroundColor;
[super setBackgroundColor:backgroundColor];
Expand Down

0 comments on commit 60c791a

Please sign in to comment.