         titleLabel?.text = titleForState(.Normal)
         setTitle(nil, forState: .Normal)
     }
-
+    
 }

import UIKit

class NibButton: UIButton {

    // MARK: - Variables
    
    var contentView: BFWNibView!
    
    // MARK: - Init
    

    }
    
    func commonInit() {
        if let contentView = contentView {
            addSubview(contentView)
            contentView.pinToSuperviewEdges()
            contentView.translatesAutoresizingMaskIntoConstraints = false
            contentView.userInteractionEnabled = false
        }
    }
    
    override func awakeFromNib() {
