SwiftextensionSleepHealthUI

extension UILabel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

classUILabel

Members 5

  1. funcstatic makeDynamicLabel(textStyle: UIFontTextStyle, textColor: UIColor?, traits: UIFontDescriptorSymbolicTraits, rounded: Bool, monospaced: Bool, numberOfLines: Int, weight: UIFontWeight?, textAlignment: NSTextAlignment?, sizingRule: UILetterformAwareSizingRule?) -> UILabel
  2. funcmutableAttributedString() -> NSMutableAttributedString?
  3. funcupdate(viewModel: UILabel.ViewModel) -> ()
  4. initinit(textColor: UIColor, textAlignment: NSTextAlignment?) -> UILabel
  5. initinit(textStyle: UIFontTextStyle, textColor: UIColor?, traits: UIFontDescriptorSymbolicTraits, rounded: Bool, monospaced: Bool, weight: UIFontWeight?) -> UILabel
extension __C.UILabel {
    struct ViewModel {
        let text: Swift.String?
        let font: __C.UIFont?
        let textColor: __C.UIColor?
        let hidden: Swift.Bool
        let accessibilityLabel: Swift.String?

        init(text: Swift.String?, font: __C.UIFont?, textColor: __C.UIColor?, hidden: Swift.Bool, accessibilityLabel: Swift.String?)
    }
    init(textColor: __C.UIColor, textAlignment: __C.NSTextAlignment?)
    init(textStyle: __C.UIFontTextStyle, textColor: __C.UIColor?, traits: __C.UIFontDescriptorSymbolicTraits, rounded: Swift.Bool, monospaced: Swift.Bool, weight: __C.UIFontWeight?)

    func mutableAttributedString() -> __C.NSMutableAttributedString?
    func update(viewModel: __C.UILabel.ViewModel)

    static func makeDynamicLabel(textStyle: __C.UIFontTextStyle, textColor: __C.UIColor?, traits: __C.UIFontDescriptorSymbolicTraits, rounded: Swift.Bool, monospaced: Swift.Bool, numberOfLines: Swift.Int, weight: __C.UIFontWeight?, textAlignment: __C.NSTextAlignment?, sizingRule: __C.UILetterformAwareSizingRule?) -> __C.UILabel
}