class YourViewHere: UIView {
  @IBOutlet var amountLabel: UILabel? {
    didSet {
      guard let label = amountLabel else { return }
      // apply font for numbers
      amountLabel?.font = .monospacedDigitSystemFont(ofSize: label.font.pointSize, weight: .regular)
    }
  }
}