mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-26 01:52:25 +00:00
Add some nullables in ASTextNode
This commit is contained in:
parent
fd3a90a3ed
commit
f20a0d4bc0
@ -46,14 +46,14 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
|
|||||||
@abstract The attributedString to use when the text must be truncated.
|
@abstract The attributedString to use when the text must be truncated.
|
||||||
@discussion Defaults to a localized ellipsis character.
|
@discussion Defaults to a localized ellipsis character.
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, copy) NSAttributedString *truncationAttributedString;
|
@property (nullable, nonatomic, copy) NSAttributedString *truncationAttributedString;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@summary The second attributed string appended for truncation.
|
@summary The second attributed string appended for truncation.
|
||||||
@discussion This string will be highlighted on touches.
|
@discussion This string will be highlighted on touches.
|
||||||
@default nil
|
@default nil
|
||||||
*/
|
*/
|
||||||
@property (nonatomic, copy) NSAttributedString *additionalTruncationMessage;
|
@property (nullable, nonatomic, copy) NSAttributedString *additionalTruncationMessage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@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.
|
||||||
@ -77,7 +77,7 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
|
|||||||
*/
|
*/
|
||||||
@property (nonatomic, readonly, assign) NSUInteger lineCount;
|
@property (nonatomic, readonly, assign) NSUInteger lineCount;
|
||||||
|
|
||||||
@property (nonatomic, strong) NSArray<UIBezierPath *> *exclusionPaths;
|
@property (nullable, nonatomic, strong) NSArray<UIBezierPath *> *exclusionPaths;
|
||||||
|
|
||||||
#pragma mark - Placeholders
|
#pragma mark - Placeholders
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user