 import UIKit
 import QuartzCore
 
-class RoundedCornerView: UIView {
+@IBDesignable class RoundedCornerView: UIView {
 
-    var borderColor:UIColor? = nil {
+    @IBInspectable var borderColor:UIColor? = nil {
         didSet {
             if let borderColor = borderColor {
                 layer.borderColor = borderColor.CGColor

    }
}

class RoundImageView: UIImageView {
    
    let circlePathLayer = CAShapeLayer()

    var borderColor:UIColor = UIColor.blackColor() {
        didSet {
            layer.borderColor = borderColor.CGColor
        }

        }
    }
    
    @IBInspectable var borderWidth:CGFloat = 0.0 {
        didSet {
            layer.borderWidth = borderWidth
        }
    }

    @IBInspectable var cornerRadius:CGFloat {
        set (radius) {
            self.layer.cornerRadius = radius
            self.layer.masksToBounds = radius > 0.0
