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, UILetterformAwareAdjusting, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable
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
contentthe string to set the label to
argsa 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
contentthe string to set the label to
argsthe array of String replacement values if any
View on GitHub
Install in Dash
UnconstrainedTextLabel Class Reference