Cannot invoke initializer for type 'CustomDetailView' with no arguments
<p>Getting error while I'm trying to do is simply create an instance of my custom class        </p>

<pre><code>class CustomDetailView: UIImageView {
  let packThumbImage = UIImageView()
  let packFrameImage = UIImageView()
  let packNameLabel = UILabel()

 required init?(coder aDecoder: NSCoder) {
    super.init(coder: aDecoder)
 }

 override init(frame: CGRect) {
    super.init(frame: frame)   
  }
}
</code></pre>

<blockquote>
  <p>var customPackView = CustomDetailView() // error here</p>
</blockquote>