IPPaddingLabel

public final class IPPaddingLabel : UILabel

Label with default paddings on sides

Usage:

let label = IPPaddingLabel(text: "text", fontSize: 15, weight: .regular, textColor: .darkGray)

Notes:

  1. It can be inherited on .xibs/.storyboards

Custom initializer

  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public override func drawText(in rect: CGRect)