//
//  CLLabel.swift

//
//  Created by Leon on 2025/8/17.
//

import UIKit

class CLLabel: UILabel{
    convenience init() {
        self.init(frame: .zero)
    }
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupViews()
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setupViews() {
        textColor = .white
        
        setContentCompressionResistancePriority(UILayoutPriority(742), for: .horizontal)
    }

}
