mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-11 08:50:24 +00:00
Merge pull request #1192 from garrettmoon/updateASTextNodeDocumentation
[ASTextNode] Indicate that truncation mode is overridden by attributes in attributedString
This commit is contained in:
commit
06bdcd0049
@ -58,6 +58,7 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
|
||||
/**
|
||||
@abstract Determines how the text is truncated to fit within the receiver's maximum size.
|
||||
@discussion Defaults to NSLineBreakByWordWrapping.
|
||||
@note Setting a truncationMode in attributedString will override the truncation mode set here.
|
||||
*/
|
||||
@property (nonatomic, assign) NSLineBreakMode truncationMode;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user