Package apple.uikit.protocol
Interface NSTextContentStorageDelegate
-
- All Superinterfaces:
NSTextContentManagerDelegate
public interface NSTextContentStorageDelegate extends NSTextContentManagerDelegate
API-Since: 15.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable NSTextParagraphtextContentStorageTextParagraphWithRange(@NotNull NSTextContentStorage textContentStorage, NSRange range)Returns a custom NSTextParagraph for range in NSTextContentStorage.attributedString.-
Methods inherited from interface apple.uikit.protocol.NSTextContentManagerDelegate
textContentManagerShouldEnumerateTextElementOptions, textContentManagerTextElementAtLocation
-
-
-
-
Method Detail
-
textContentStorageTextParagraphWithRange
@Nullable default @Nullable NSTextParagraph textContentStorageTextParagraphWithRange(@NotNull @NotNull NSTextContentStorage textContentStorage, NSRange range)
Returns a custom NSTextParagraph for range in NSTextContentStorage.attributedString. When non-nil, textContentStorage uses the text paragraph instead of creating the standard NSTextParagraph with the attributed substring in range. The attributed string for a custom text paragraph must have range.length.
-
-