MutableLabelAppearance

@objc(YMAMutableLabelAppearance)
@objcMembers
public class MutableLabelAppearance : LabelAppearance

Class with editable text settings.

  • Font settings: name and size.

    Declaration

    Swift

    override public var font: UIFont { get set }
  • Text color.

    Declaration

    Swift

    override public var textColor: UIColor { get set }
  • Corresponding immutable representation of current label appearance.

    Declaration

    Swift

    public var labelAppearance: LabelAppearance { get }
  • Creates an object of the MutableLabelAppearance class with the text settings.

    Declaration

    Swift

    public required convenience init(font: UIFont, textColor: UIColor)

    Parameters

    font

    Font settings: name and size.

    textColor

    Text color.

    Return Value

    The configured text appearance (the specified font and color).

  • Undocumented

    Declaration

    Swift

    public convenience init()

NSCopying

  • Undocumented

    Declaration

    Swift

    override public func copy(with zone: NSZone? = nil) -> Any