mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Indicate that truncation mode is overridden by attributes in attributedString
This commit is contained in:
@@ -58,6 +58,7 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
|
|||||||
/**
|
/**
|
||||||
@abstract Determines how the text is truncated to fit within the receiver's maximum size.
|
@abstract Determines how the text is truncated to fit within the receiver's maximum size.
|
||||||
@discussion Defaults to NSLineBreakByWordWrapping.
|
@discussion Defaults to NSLineBreakByWordWrapping.
|
||||||
|
@note Setting a truncationMode in attributedString will override the truncation mode set here.
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, assign) NSLineBreakMode truncationMode;
|
@property (nonatomic, assign) NSLineBreakMode truncationMode;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user