<commit_before>#import "UIFont+MapsMeFonts.h"
#import "UITextView+RuntimeAttributes.h"
#import "UIColor+MapsMeColor.h"

@implementation UITextView (RuntimeAttributes)

- (void)setLocalizedText:(NSString *)localizedText
{
  self.text = L(localizedText);
}

- (NSString *)localizedText
{
  return L(self.text);
}

- (void)setFontName:(NSString *)fontName
{
  self.font = [UIFont fontWithName:fontName];
}

- (void)setColorName:(NSString *)colorName
{
  self.textColor = [UIColor colorWithName:colorName];
}

- (void)setTintColorName:(NSString *)colorName
{
  self.tintColor = [UIColor colorWithName:colorName];
}

@end

@implementation MWMTextView (RuntimeAttributes)

- (void)setLocalizedPlaceholder:(NSString *)localizedPlaceholder
{
  self.placeholder = L(localizedPlaceholder);
}

- (NSString *)localizedPlaceholder
{
  return L(self.placeholder);
}

@end<commit_msg>[ios] Added setPlaceholderColorName method for UITextView.<commit_after>#import "UIFont+MapsMeFonts.h"
#import "UITextView+RuntimeAttributes.h"
#import "UIColor+MapsMeColor.h"

@implementation UITextView (RuntimeAttributes)

- (void)setLocalizedText:(NSString *)localizedText
{
  self.text = L(localizedText);
}

- (NSString *)localizedText
{
  return L(self.text);
}

- (void)setFontName:(NSString *)fontName
{
  self.font = [UIFont fontWithName:fontName];
}

- (void)setColorName:(NSString *)colorName
{
  self.textColor = [UIColor colorWithName:colorName];
}

- (void)setTintColorName:(NSString *)colorName
{
  self.tintColor = [UIColor colorWithName:colorName];
}

@end

@implementation MWMTextView (RuntimeAttributes)

- (void)setLocalizedPlaceholder:(NSString *)localizedPlaceholder
{
  self.placeholder = L(localizedPlaceholder);
}

- (NSString *)localizedPlaceholder
{
  return L(self.placeholder);
}

- (void)setPlaceholderColorName:(NSString *)placeholderColorName
{
  self.placeholderView.textColor = [UIColor colorWithName:placeholderColorName];
}

@end
{'fraction_non_alphanumeric': 0.1328852119958635, 'fraction_numerical': 0.0, 'mean_word_length': 6.865853658536586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2639738', 'n_tokens_mistral': 692, 'n_tokens_neox': 654, 'n_words': 99}