FUITextKitView
@MainActor
public class FUITextKitView : UIView, PrepareForReuse, FUIContentCopyable
UIView subclass to draw text and glygh image using TextKit apis. Typically not used by developer.
-
Undocumented
Declaration
Swift
@MainActor public override var frame: CGRect { get set }
-
This property indicates if the content is copyable or not.
The default is
true.Declaration
Swift
@MainActor public var isContentCopyable: Bool { get set } -
Applies the specified text alignment to an attributed string, updating the paragraph style attribute
Declaration
Swift
@MainActor public static func attributedStringBySettingTextAlignment(_ attributedText: NSAttributedString, to alignment: NSTextAlignment) -> NSAttributedString