mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Remove textStorageCreationBlock API (#2142)
* Remove textStorageCreationBlock API * Remove layoutManagerCreationBlock also
This commit is contained in:
@@ -20,17 +20,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@property (nullable, nonatomic, copy) NSArray *pointSizeScaleFactors;
|
||||
|
||||
#pragma mark - ASTextKit Customization
|
||||
/**
|
||||
A block to provide a hook to provide a custom NSLayoutManager to the ASTextKitRenderer
|
||||
*/
|
||||
@property (nullable, nonatomic, copy) NSLayoutManager * (^layoutManagerCreationBlock)(void);
|
||||
|
||||
/**
|
||||
A block to provide a hook to provide a NSTextStorage to the TextKit's layout manager.
|
||||
*/
|
||||
@property (nullable, nonatomic, copy) NSTextStorage * (^textStorageCreationBlock)(NSAttributedString *_Nullable attributedString);
|
||||
|
||||
/**
|
||||
@abstract Text margins for text laid out in the text node.
|
||||
@discussion defaults to UIEdgeInsetsZero.
|
||||
|
||||
Reference in New Issue
Block a user