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
Any properties affecting text or paragraph styling, such as `firstLineIndent` will only apply when text is set with an `NSString`. If the text is set with an `NSAttributedString`, these properties will not apply.
and the "setText" method
if ([text isKindOfClass:[NSString class]]) {
[self setText:text afterInheritingLabelAttributesAndConfiguringWithBlock:nil];
return;
}
the "setText:afterInheritingLabelAttributesAndConfiguringWithBlock" call "setText" with a mutableAttributedString.
The document tell me to set text rather than NSAttributedString, then the "setText" call itself with NSAttributedString in any case
The text was updated successfully, but these errors were encountered:
I see the notice
and the "setText" method
the "setText:afterInheritingLabelAttributesAndConfiguringWithBlock" call "setText" with a mutableAttributedString.
The document tell me to set text rather than NSAttributedString, then the "setText" call itself with NSAttributedString in any case
The text was updated successfully, but these errors were encountered: