SwiftclassWorkflowUICore

class WorkflowUICore.WFSelectableLabel

Members 49

  1. funcstatic height(for: String, font: UIFont, availableWidth: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat
  2. deinitdeinit
  3. fieldvar _markedTextRange: WorkflowUICore.WFTextRange?
  4. fieldvar _markedTextStyle: [NSAttributedStringKey : Any]?
  5. fieldvar _selectedTextRange: WorkflowUICore.WFTextRange?
  6. fieldvar font: UIFont
  7. fieldweak var inputDelegate: UITextInputDelegate?
  8. fieldlet layoutManager: NSLayoutManager
  9. fieldvar lineBreakMode: NSLineBreakMode
  10. fieldvar numberOfLines: Int
  11. fieldvar textAlignment: NSTextAlignment
  12. fieldvar textColor: UIColor
  13. fieldlet textContainer: NSTextContainer
  14. fieldvar textInteraction: UITextInteraction?
  15. fieldlet textStorage: NSTextStorage
  16. funcbaseWritingDirection(for: UITextPosition, in: UITextStorageDirection) -> NSWritingDirection
  17. funccaretRect(for: UITextPosition) -> CGRect
  18. funccharacterRange(byExtending: UITextPosition, in: UITextLayoutDirection) -> UITextRange?
  19. funccharacterRange(at: CGPoint) -> UITextRange?
  20. funcclosestPosition(to: CGPoint) -> UITextPosition?
  21. funcclosestPosition(to: CGPoint, within: UITextRange) -> UITextPosition?
  22. funccompare(_: UITextPosition, to: UITextPosition) -> NSComparisonResult
  23. funccopy(Any?) -> ()
  24. funcdeleteBackward() -> ()
  25. funcfirstRect(for: UITextRange) -> CGRect
  26. funcinsertText(String) -> ()
  27. funcoffset(from: UITextPosition, to: UITextPosition) -> Int
  28. funcposition(from: UITextPosition, offset: Int) -> UITextPosition?
  29. funcposition(from: UITextPosition, in: UITextLayoutDirection, offset: Int) -> UITextPosition?
  30. funcposition(within: UITextRange, farthestIn: UITextLayoutDirection) -> UITextPosition?
  31. funcreplace(_: UITextRange, withText: String) -> ()
  32. funcselectAll(Any?) -> ()
  33. funcselectionRects(for: UITextRange) -> [UITextSelectionRect]
  34. funcsetBaseWritingDirection(_: NSWritingDirection, for: UITextRange) -> ()
  35. funcsetMarkedText(_: String?, selectedRange: _NSRange) -> ()
  36. functext(in: UITextRange) -> String?
  37. functextRange(from: UITextPosition, to: UITextPosition) -> UITextRange?
  38. funcunmarkText() -> ()
  39. initWorkflowUICore.WFSelectableLabel.__allocating_init(coder: NSCoder) -> WorkflowUICore.WFSelectableLabel?
  40. initWorkflowUICore.WFSelectableLabel.__allocating_init(frame: CGRect) -> WorkflowUICore.WFSelectableLabel
  41. varvar attributedText: NSAttributedString { get set }
  42. varvar beginningOfDocument: UITextPosition { get }
  43. varvar endOfDocument: UITextPosition { get }
  44. varvar hasText: Bool { get }
  45. varvar markedTextRange: UITextRange? { get }
  46. varvar markedTextStyle: [NSAttributedStringKey : Any]? { get set }
  47. varvar selectedTextRange: UITextRange? { get set }
  48. varvar text: String { get set }
  49. varvar tokenizer: UITextInputTokenizer { get }
class WFSelectableLabel: __C.UIView, __C.UITextInput {
    let textContainer: __C.NSTextContainer
    let textStorage: __C.NSTextStorage
    let layoutManager: __C.NSLayoutManager
    var _selectedTextRange: WorkflowUICore.WFTextRange?
    var _markedTextRange: WorkflowUICore.WFTextRange?
    var _markedTextStyle: [__C.NSAttributedStringKey : Any]?
    var textInteraction: __C.UITextInteraction?
    var font: __C.UIFont
    var textColor: __C.UIColor
    var textAlignment: __C.NSTextAlignment
    var lineBreakMode: __C.NSLineBreakMode
    var numberOfLines: Swift.Int
    weak var inputDelegate: (any __C.UITextInputDelegate)?

    var text: Swift.String {
        get
        set
    }
    var attributedText: __C.NSAttributedString {
        get
        set
    }
    var selectedTextRange: __C.UITextRange? {
        get
        set
    }
    var markedTextRange: __C.UITextRange? {
        get
    }
    var markedTextStyle: [__C.NSAttributedStringKey : Any]? {
        get
        set
    }
    var beginningOfDocument: __C.UITextPosition {
        get
    }
    var endOfDocument: __C.UITextPosition {
        get
    }
    var tokenizer: any __C.UITextInputTokenizer {
        get
    }
    var hasText: Swift.Bool {
        get
    }
    func insertText(_: Swift.String)
    func deleteBackward()
    func text(in: __C.UITextRange) -> Swift.String?
    func replace(_: __C.UITextRange, withText: Swift.String)
    func setMarkedText(_: Swift.String?, selectedRange: __C._NSRange)
    func unmarkText()
    func textRange(from: __C.UITextPosition, to: __C.UITextPosition) -> __C.UITextRange?
    func position(from: __C.UITextPosition, offset: Swift.Int) -> __C.UITextPosition?
    func position(from: __C.UITextPosition, in: __C.UITextLayoutDirection, offset: Swift.Int) -> __C.UITextPosition?
    func compare(_: __C.UITextPosition, to: __C.UITextPosition) -> __C.NSComparisonResult
    func offset(from: __C.UITextPosition, to: __C.UITextPosition) -> Swift.Int
    func position(within: __C.UITextRange, farthestIn: __C.UITextLayoutDirection) -> __C.UITextPosition?
    func characterRange(byExtending: __C.UITextPosition, in: __C.UITextLayoutDirection) -> __C.UITextRange?
    func baseWritingDirection(for: __C.UITextPosition, in: __C.UITextStorageDirection) -> __C.NSWritingDirection
    func setBaseWritingDirection(_: __C.NSWritingDirection, for: __C.UITextRange)
    func firstRect(for: __C.UITextRange) -> __C.CGRect
    func caretRect(for: __C.UITextPosition) -> __C.CGRect
    func selectionRects(for: __C.UITextRange) -> [__C.UITextSelectionRect]
    func closestPosition(to: __C.CGPoint) -> __C.UITextPosition?
    func closestPosition(to: __C.CGPoint, within: __C.UITextRange) -> __C.UITextPosition?
    func characterRange(at: __C.CGPoint) -> __C.UITextRange?

    @objc override init?(coder: __C.NSCoder)
    @objc override init(frame: __C.CGRect)

    @objc func copy(_: Any?)
    @objc func selectAll(_: Any?)

    static func height(for: Swift.String, font: __C.UIFont, availableWidth: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat

    deinit
}