     
     public func configureView(data: MYHeaderFooterViewModel) {
         self.delegate = data
+        selectionEnabled = data.selectionEnabled
     }
     
     public func emitSelectedEvent(view: MYBaseViewProtocol) {

public extension MYHeaderFooterView {
    override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
        super.touchesBegan(touches, withEvent: event)
        highlight(false)
    }
    
    override func touchesCancelled(touches: NSSet!, withEvent event: UIEvent!) {
        super.touchesCancelled(touches, withEvent: event)
        unhighlight(false)
    }
    
    override func touchesEnded(touches: NSSet, withEvent event: UIEvent) {
        super.touchesEnded(touches, withEvent: event)
        emitSelectedEvent(self)
    }
}
    internal(set) var isHeader = true
    public var viewHeight: CGFloat = 44
    public var isEnabled = true
    public var selectionEnabled = true
    
    public init(viewClass: AnyClass, userData: AnyObject?, selectionHandler: MYSelectionHandler? = nil) {
        self.identifier = String.className(viewClass)
