     private let contentView = UIView()
     private let label = UILabel()
     
+    /// Value to display.
     internal var value: String? {
         didSet {
             if value != nil {


import UIKit

open class TMBadgeView: UIView {
    
    // MARK: Defaults

            return label.attributedText
        }
    }
    /// Font for the label.
    open var font: UIFont {
        set {
            label.font = newValue
