      Extended by TJExtensions
      */
     @IBInspectable
-    public var borderWidth: CGFloat {
+    var borderWidth: CGFloat {
         get {
             return self.layer.borderWidth
         }

     Extended by TJExtensions
     */
    @IBInspectable
    public var borderColor: UIColor? {
        get {
            if let _ = self.layer.borderColor {
                return UIColor(cgColor: self.layer.borderColor!)

    /**
     Extended by TJExtensions
     */
    public func border(_ positions: Set<TJViewBorderPosition>, borderWidth: CGFloat, borderColor: UIColor?) {
        self.layer.sublayers = nil
        if positions.contains(.top) {
            borderTop(borderWidth, borderColor: borderColor)
