     }
     
     public func setTitle(title: String, subtitle: String?) {
-        let normalString = NSMutableAttributedString(string: title, attributes: TitleButton.normalAttributes)
-        let highlightedString = NSMutableAttributedString(string: title, attributes: TitleButton.highlightedAttributes)
+        let normalString = NSMutableAttributedString(string: title, attributes: T.normalAttributes)
+        let highlightedString = NSMutableAttributedString(string: title, attributes: T.highlightedAttributes)
         
         if let subtitle = subtitle {
-            normalString.append(NSAttributedString(string: "\n" + subtitle, attributes: TitleButton.subtitleAttributes))
-            highlightedString.append(NSAttributedString(string: "\n" + subtitle, attributes: TitleButton.subtitleAttributes))
+            normalString.append(NSAttributedString(string: "\n" + subtitle, attributes: T.subtitleAttributes))
+            highlightedString.append(NSAttributedString(string: "\n" + subtitle, attributes: T.subtitleAttributes))
             titleLabel?.lineBreakMode = .byWordWrapping
         } else {
             titleLabel?.lineBreakMode = .byTruncatingTail


import Foundation

public final class TitleButton: UIButton {
    public var enableTitleCopy = false
    
    public override var canBecomeFirstResponder: Bool {

    public override func copy(_ sender: Any?) {
        UIPasteboard.general.string = titleLabel?.text
    }
    
    @objc convenience init() {
        self.init(frame: .zero)
