title: How to make custom rounded UIImageView subclass?
body: <p>I want to make my custom round <code>UIImageView</code> and show it in storyboard. </p>
  
  <p>I've done next: </p>
  
  <pre><code>@IBDesignable
  class RoundedImageView: UIImageView {
      override init(image: UIImage?) {
          super.init(image: image)
          super.layer.cornerRadius = super.frame.size.height / 2
          self.layer.cornerRadius = self.frame.size.height / 2    
      }
  
      override init(frame: CGRect) {
          super.init(frame: frame)
          super.layer.cornerRadius = super.frame.size.height / 2
          self.layer.cornerRadius = self.frame.size.height / 2
      }
  
      required init?(coder aDecoder: NSCoder) {
          super.init(coder: aDecoder)
          super.layer.cornerRadius = super.frame.size.height / 2
          self.layer.cornerRadius = self.frame.size.height / 2
      }
  } 
  </code></pre>
  
  <p>And my imageView in storyboard is RoundedImageView class selected.
  But in storyboard it's still showing as rectangle. How can I realize it?
  When I'm running code its rounded.
  Thanks</p>