UnconstrainedTextLabel

class UnconstrainedTextLabel
extension UnconstrainedTextLabel : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContentSizeCategoryAdjusting, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring

Undocumented

  • Undocumented

    Declaration

    Swift

    var contentConstraints: ContentConstrainer { get }
  • Undocumented

    Declaration

    Swift

    func desiredHeight(forWidth availableWidth: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    convenience init(_ content: String, _ args: String...)
  • Undocumented

    Declaration

    Swift

    required init?(coder: NSCoder)
  • Undocumented

    Declaration

    Swift

    override init(frame: CGRect)
  • Allows an easy method by which to update the text of the label in question. If the supplied text has any replacement values matching %@ then the optional args array will be used as replacement values for those markers.

    Declaration

    Swift

    func setLabelText(_ content: String, _ args: String...)

    Parameters

    content

    the string to set the label to

    args

    a variadic list of arguments to follow the first String, each of which will be used as a potential replacement value.

  • Allows an easy method by which to update the text of the label in question. If the supplied text has any replacement values matching %@ then the optional args array will be used as replacement values for those markers.

    Declaration

    Swift

    func setLabelText(_ content: String, _ args: [String] = [])

    Parameters

    content

    the string to set the label to

    args

    the array of String replacement values if any