Indicate that truncation mode is overridden by attributes in attributedString

This commit is contained in:
Garrett Moon
2016-02-05 14:08:49 -08:00
parent 35a4b268d6
commit d6c06ab0bd

View File

@@ -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;