title: How can I fix this warning msg. Warning: Ignoring user defined runtime attribute for key path "radius" on instance of "UIButton"
body: <p>I am getting this warning message. How can I fix this.</p>
  
  <p><strong>Warning</strong>: IB Designables: Ignoring user defined runtime attribute for key path <code>radius</code> on instance of <code>UIButton</code>. Hit an exception when attempting to set its value: [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key <code>radius</code>.</p>
  
  <p>Here is custom <strong>UIButtonRounded</strong> class</p>
  
  <pre><code>@IBDesignable class UIButtonRounded: UIButton
  {
      override func layoutSubviews() {
         super.layoutSubviews()
         updateCornerRadius()
      }
  
      @IBInspectable var rounded: Bool = false {
         didSet {
           updateCornerRadius()
         }
      }
  
      @IBInspectable var border: Bool = false {
         didSet {
          updateCornerRadius()
         }
      }
  
      @IBInspectable var radious: CGFloat = 0 {
         didSet {
          updateCornerRadius()
         }
      }
  
      func updateCornerRadius() {
         layer.cornerRadius = rounded ? radious : 0
         layer.masksToBounds = true
         if(border){
            layer.borderWidth = 1.3
            layer.borderColor = UIColor(named:"color_bg_white")?.cgColor
         }
  
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/voEaH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/voEaH.png" alt="After Appling custom class"></a></p>
  
  <p><a href="https://i.stack.imgur.com/iYtL7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iYtL7.png" alt="Custom class Attribute"></a></p>
  
  <p><a href="https://i.stack.imgur.com/0NwA7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0NwA7.png" alt="Waring msg"></a></p>
  
  <p>Thanks In advance.</p>