SwiftclassWorkflowUICore
WFSelectableLabel
class WorkflowUICore.WFSelectableLabel
Members 49
- func
static height(for: String, font: UIFont, availableWidth: CoreGraphics.CGFloat) -> CoreGraphics.CGFloat - deinit
deinit - field
var _markedTextRange: WorkflowUICore.WFTextRange? - field
var _markedTextStyle: [NSAttributedStringKey : Any]? - field
var _selectedTextRange: WorkflowUICore.WFTextRange? - field
var font: UIFont - field
weak var inputDelegate: UITextInputDelegate? - field
let layoutManager: NSLayoutManager - field
var lineBreakMode: NSLineBreakMode - field
var numberOfLines: Int - field
var textAlignment: NSTextAlignment - field
var textColor: UIColor - field
let textContainer: NSTextContainer - field
var textInteraction: UITextInteraction? - field
let textStorage: NSTextStorage - func
baseWritingDirection(for: UITextPosition, in: UITextStorageDirection) -> NSWritingDirection - func
caretRect(for: UITextPosition) -> CGRect - func
characterRange(byExtending: UITextPosition, in: UITextLayoutDirection) -> UITextRange? - func
characterRange(at: CGPoint) -> UITextRange? - func
closestPosition(to: CGPoint) -> UITextPosition? - func
closestPosition(to: CGPoint, within: UITextRange) -> UITextPosition? - func
compare(_: UITextPosition, to: UITextPosition) -> NSComparisonResult - func
copy(Any?) -> () - func
deleteBackward() -> () - func
firstRect(for: UITextRange) -> CGRect - func
insertText(String) -> () - func
offset(from: UITextPosition, to: UITextPosition) -> Int - func
position(from: UITextPosition, offset: Int) -> UITextPosition? - func
position(from: UITextPosition, in: UITextLayoutDirection, offset: Int) -> UITextPosition? - func
position(within: UITextRange, farthestIn: UITextLayoutDirection) -> UITextPosition? - func
replace(_: UITextRange, withText: String) -> () - func
selectAll(Any?) -> () - func
selectionRects(for: UITextRange) -> [UITextSelectionRect] - func
setBaseWritingDirection(_: NSWritingDirection, for: UITextRange) -> () - func
setMarkedText(_: String?, selectedRange: _NSRange) -> () - func
text(in: UITextRange) -> String? - func
textRange(from: UITextPosition, to: UITextPosition) -> UITextRange? - func
unmarkText() -> () - init
WorkflowUICore.WFSelectableLabel.__allocating_init(coder: NSCoder) -> WorkflowUICore.WFSelectableLabel? - init
WorkflowUICore.WFSelectableLabel.__allocating_init(frame: CGRect) -> WorkflowUICore.WFSelectableLabel - var
var attributedText: NSAttributedString { get set } - var
var beginningOfDocument: UITextPosition { get } - var
var endOfDocument: UITextPosition { get } - var
var hasText: Bool { get } - var
var markedTextRange: UITextRange? { get } - var
var markedTextStyle: [NSAttributedStringKey : Any]? { get set } - var
var selectedTextRange: UITextRange? { get set } - var
var text: String { get set } - var
var tokenizer: UITextInputTokenizer { get }
Header
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 }