This repository was archived by the owner on Aug 24, 2019. It is now read-only.

Description
A small quirk I found is if you set the placeholder text before setting the font then the placeholder's font no longer matches the text view's font. Not sure if this is an intended feature. The code snippet below shows an example:
SAMTextView *textView = [SAMTextView new];
textView.translatesAutoresizingMaskIntoConstraints = NO;
textView.backgroundColor = [UIColor yellowColor];
textView.placeholder = @"This is the placeholder";
textView.font = [UIFont preferredFontForTextStyle:UIFontTextStyleTitle2];
Maybe when setting a font, it could regenerate the attributed string?