You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
Since Version 0.2.0 and the introduction of attributedPlaceholder, when the default SAMTextView is placed into a storyboard and something like
textView.placeholder = @"Example";
is done in code, the color of the placeholder text, which used to be light gray by default, is ignored. Whatever color the actual text is set to be in the storyboard is the color set for the placeholder text as well.
I'm doubting this is intentional behavior, but I just wanted to run it by you and make sure.
The text was updated successfully, but these errors were encountered:
I think the is probably due to the textView being the first responder prior to you setting the placeholder text. Because of this line here
if ([self isFirstResponder] && self.typingAttributes) {
[attributes addEntriesFromDictionary:self.typingAttributes];
}
sets the attributes to the typing attributes of the textView. It's easy enough to remove that if but I'm not quite sure what the intentional behavior is.
Since Version 0.2.0 and the introduction of
attributedPlaceholder
, when the defaultSAMTextView
is placed into a storyboard and something liketextView.placeholder = @"Example";
is done in code, the color of the placeholder text, which used to be light gray by default, is ignored. Whatever color the actual text is set to be in the storyboard is the color set for the placeholder text as well.
I'm doubting this is intentional behavior, but I just wanted to run it by you and make sure.
The text was updated successfully, but these errors were encountered: