I've a custom `UIView` that I'm displaying inside a `ScrollView`. On my `UIView` I've added a `CollectionView` and created a custom `.xib` for it's cell.

In my `UIView` I've `@IBOutlet weak var productShowcaseCollectionView: UICollectionView!` and then:

```
override init(frame: CGRect) {
    super.init(frame: frame)
    initCollectionView()
}

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

private func initCollectionView() {

    self.productShowcaseCollectionView.register(UINib(nibName: "PrizeShowcaseCollectionViewCell", bundle: nil), forCellWithReuseIdentifier: reuseIdentifier) //crashes on this line
    productShowcaseCollectionView.dataSource = self
    productShowcaseCollectionView.delegate = self

}

```

When I run it, the crash occurs at `self.productShowcaseCollectionView.register` that reads:

> 
> Fatal error: Unexpectedly found nil while implicitly unwrapping an
>  Optional value: file
> 
> 
>