UIButton

public extension UIButton

Button+Attribute contains additional support for a button

Author

Adamas

Version

1.6.0

Date

08/08/2019
  • Set and get the title of the button.

    Declaration

    Swift

    var title: String? { get set }
  • The title text alignment

    Declaration

    Swift

    var textAlignment: NSTextAlignment? { get set }
  • Get the height of each line.

    Declaration

    Swift

    var lineHeight: CGFloat { get }
  • How many lines are presented.

    Declaration

    Swift

    var lineAmount: Int { get }
  • The actual height of the text.

    Declaration

    Swift

    var actualHeight: CGFloat { get }
  • Declaration

    Swift

    override func localize(withLocalizationFile localizationFile: String = defaultLocalizationFile)