         }
     }
     
-    var borderWidth:CGFloat = 0.0 {
+    @IBInspectable var borderWidth:CGFloat = 0.0 {
         didSet {
             layer.borderWidth = borderWidth
         }
     }
 
-    var cornerRadius:CGFloat {
+    @IBInspectable var cornerRadius:CGFloat {
         set (radius) {
             self.layer.cornerRadius = radius
             self.layer.masksToBounds = radius > 0.0

import UIKit
import QuartzCore

class RoundedCornerView: UIView {

    var borderColor:UIColor? = nil {
        didSet {
            if let borderColor = borderColor {
                layer.borderColor = borderColor.CGColor

    }
}

@IBDesignable class RoundImageView: UIImageView {
    
    let circlePathLayer = CAShapeLayer()

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