FUILabel

open class FUILabel : UILabel, FUIContentCopyable

Subclass of UILabel, implementing onChangeHandler that is invoked on changes to the value property.

Theming

Base class paths:

fdlFUILabel {}

Supported Text attributes:

font-color (Color)
font-name (FontName)
font-style (UIFontTextStyle)
font-size (Number)
text-align (TextAlign)
text-line-clamp (Integer)
  • Implementation of change handler. Is invoked on changes to the value property.

    Declaration

    Swift

    open var onChangeHandler: ((Optional<String>) -> Void)?
  • To add space around the content

    Declaration

    Swift

    open var insets: UIEdgeInsets { get set }
  • Undocumented

    Declaration

    Swift

    override open var gestureRecognizers: [UIGestureRecognizer]? { get set }
  • Undocumented

    Declaration

    Swift

    override open func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    override open func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)
  • This property indicates if the content is copyable or not.

    The default is true.

    Declaration

    Swift

    public var isContentCopyable: Bool { get set }
  • Undocumented

    Declaration

    Swift

    open override var accessibilityTraits: UIAccessibilityTraits { get set }