title: Correct way to create CollectionView programmatically
body: <p>When using storyboards or nibs, outlets for CollectionViews are implicitly unwrapped, so accessing and configuring the collectionView is a straightforward process.</p>
  
  <pre><code>@IBOutlet var collectionView: UICollectionView!
  </code></pre>
  
  <p>When creating them programmatically we can do something like this:</p>
  
  <pre><code>var collectionView: UICollectionView!
  </code></pre>
  
  <p>Would this be the correct approach? Theres no guarantee that the collectionView will be initialised, so there's always the possibility for a crash. I would also like to avoid having an optional since I will be forced to unwrap it every time.</p>