title: Swift multiple inheritance solution for IBInspectable/IBDesignable?
body: <p>I've been playing with the IBInspectable/IBDesignable like in this article: <a href="http://nshipster.com/ibinspectable-ibdesignable/" rel="nofollow noreferrer">http://nshipster.com/ibinspectable-ibdesignable/</a>.</p>
  
  <p>It shows how you can make an extension to add extra editing options in storyboard. The problem however is that you can't see these changes reflected in the preview. For this you need to subclass, use <code>IBDesignable</code> and do the <code>didset{}</code> stuff.</p>
  
  <p>The problem with this is that you need to make a subclass of every stock <code>UIView</code> subclass. So a subclass of <code>UILabel</code>, <code>UITextField</code> and so on. Every time you have to copy/paste the regular <code>UIView</code> stuff like borders and corner radius.</p>
  
  <p>I don't believe Swift supports multiple inheritance, which would have made this much easier.</p>
  
  <p>Let's say your <code>IBDesignable</code> subclass of <code>UIView</code> is called <code>IBView</code>. Is there a way to make e.g. <code>UILabel</code> be a subclass of <code>IBView</code> instead of <code>UIView</code>?</p>
  
  <p>In the end I'm looking if there is a way to make <code>IBDesignable</code> less tedious.</p>