         layer.cornerRadius = minDimension/2.0
         
         layer.borderWidth = 2.0
-        layer.borderColor = UIColor.blackColor().CGColor
+//        layer.borderColor = UIColor.blackColor().CGColor
     }
     
     override func layoutSubviews() {

    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        makeRound()
    }

}
        super.init(coder: aDecoder)
        self.cornerRadius = 3.0
    }
}

class RoundImageView: UIImageView {
    
    let circlePathLayer = CAShapeLayer()

    var borderColor:UIColor = UIColor.blackColor() {
        didSet {
            layer.borderColor = borderColor.CGColor
        }
    }
    
    func makeRound() {
        let minDimension:CGFloat = min(self.bounds.width, self.bounds.height)
