title: How to create an IBInspectable of type enum
body: <p><code>enum</code> is <strong>not</strong> an Interface Builder defined runtime attribute.
  The following does not show in Interface Builder's Attributes Inspector:</p>
  
  <pre><code>enum StatusShape:Int {
      case Rectangle = 0
      case Triangle = 1
      case Circle = 2
  }
  @IBInspectable var shape:StatusShape = .Rectangle
  </code></pre>
  
  <p>From the documentation:
  <em>You can attach the IBInspectable attribute to any property in a class declaration, class extension, or category for any type that’s supported by the Interface Builder defined runtime attributes: boolean, integer or floating point number, string, localized string, rectangle, point, size, color, range, and nil.</em> </p>
  
  <p><strong>Q:</strong> How can I see an <code>enum</code> in  Interface Builder's Attributes Inspector?</p>