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

            updateContentVisibility(for: value)
        }
    }
    internal var attributedValue: NSAttributedString? {
        set {
            label.attributedText = newValue


import UIKit

/// Badge that displays a label inside a colored eliptical view.
open class TMBadgeView: UIView {
    
    // MARK: Defaults
