TransitionLabel
class TransitionLabel
extension TransitionLabel : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, 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 }
-
The height should automatically self size since we have no constraint on the height anchor. In the future it might be worthwhile to use TextKit to calculate efficient height calculation for UILabel / UITextViews.
Declaration
Swift
func desiredHeight(forWidth availableWidth: CGFloat) -> CGFloat
-
Undocumented
Declaration
Swift
convenience init(_ content: String = "", insets: NSDirectionalEdgeInsets = .zero, textAlignment: NSTextAlignment = .left, lineBreakMode: NSLineBreakMode = .byWordWrapping)
-
Undocumented
Declaration
Swift
override init(frame: CGRect)
-
Modifiable insets when this is set we update constraints and relayout the view.
Declaration
Swift
var insets: NSDirectionalEdgeInsets { get set }