     super.init(coder: aDecoder)
     self.setupView()
   }
-  
+
   private func setupView() {
     self.setupTopBorder()
     self.setupBottomBorder()
   }
-  
+
   private func setupTopBorder() {
     if let existingBorder = self.borderTopLayer {
       existingBorder.removeFromSuperlayer()
     }
-    
+
     if self.borderTop && self.borderTopColor != nil && self.borderTopWidth > 0 {
       let layer = CALayer()
       layer.backgroundColor = self.borderTopColor!.CGColor

      self.layer.addSublayer(layer)
    }
  }
  
  override public func layoutSubviews() {
    super.layoutSubviews()
    self.layoutBorders()
  }
  
  private func layoutBorders() {
    CATransaction.setAnimationDuration(0)
    let cellBounds = self.bounds
    let cellHeight = cellBounds.height
    let cellWidth = cellBounds.width
    
    if let topBorder = self.borderTopLayer {
      let topFrame = CGRectMake(self.borderTopInset.left, self.borderTopInset.top, cellWidth - self.borderTopInset.right - self.borderTopInset.left, self.borderTopWidth - self.borderTopInset.bottom - self.borderBottomInset.top)
      topBorder.frame = topFrame
    }
    
    if let bottomBorder = self.borderBottomLayer {
      let bottomFrame = CGRectMake(self.borderBottomInset.left, cellHeight - self.borderBottomWidth + self.borderBottomInset.top, cellWidth - self.borderBottomInset.right - self.borderBottomInset.left, self.borderBottomWidth - self.borderBottomInset.bottom - self.borderBottomInset.top)
      bottomBorder.frame = bottomFrame
    }
  }
  
  override public func setHighlighted(highlighted: Bool, animated: Bool) {
    if self.selectionStyle != .None {
      if let color = self.highlightBackgroundColor {
        self.backgroundColor = highlighted ? color : (self.normalBackgroundColor ?? UIColor.whiteColor())
      }
      
      super.setHighlighted(highlighted, animated: animated)
    }
  }
  
  override public func setSelected(selected: Bool, animated: Bool) {
    if self.selectionStyle != .None {
      if let color = self.selectedBackgroundColor {

      self.layer.addSublayer(layer)
    }
  }

  private func setupBottomBorder() {
    if let existingBorder = self.borderBottomLayer {
      existingBorder.removeFromSuperlayer()
    }

    if self.borderBottom && self.borderBottomColor != nil && self.borderBottomWidth > 0 {
      let layer = CALayer()
      layer.backgroundColor = self.borderBottomColor!.CGColor
