mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge branch 'master' into update-objc
Conflicts: AsyncDisplayKit/ASCellNode.h
This commit is contained in:
@@ -81,6 +81,15 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
|
||||
|
||||
#pragma mark - Placeholders
|
||||
|
||||
/**
|
||||
* @abstract ASTextNode has a special placeholder behavior when placeholderEnabled is YES.
|
||||
*
|
||||
* @discussion Defaults to NO. When YES, it draws rectangles for each line of text,
|
||||
* following the true shape of the text's wrapping. This visually mirrors the overall
|
||||
* shape and weight of paragraphs, making the appearance of the finished text less jarring.
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL placeholderEnabled;
|
||||
|
||||
/**
|
||||
@abstract The placeholder color.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user