title: How do you add a UILabel to a UICollectionViewCell without custom class?
body: <p>I've dragged a UICollectionViewController to the main storyboard and created the corresponding class.</p>
  
  <p><a href="https://i.stack.imgur.com/Sybbo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Sybbo.png" alt="enter image description here"></a>
  I've named/connected everything in storyboard and view controller correctly. </p>
  
  <p><a href="https://i.stack.imgur.com/YxHqe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YxHqe.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/FioVe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FioVe.png" alt="enter image description here"></a></p>
  
  <p>But I am unable to access objects I've placed in the UICollectionViewCell... for instance I can't set the text property on the  UILabel. </p>
  
  <p><a href="https://i.stack.imgur.com/T0qHZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/T0qHZ.png" alt="enter image description here"></a></p>
  
  <p>If I create a custom UICollectionViewCell class and create/connect the @IBOutlet to the UILabel everything works fine.</p>
  
  <p>But do I have to create this custom UICollectionViewCell class? </p>
  
  <p>It looks like the collection view is aware that a label has been added to the cell, based on the tree view in storyboard. </p>
  
  <p>I just want to add a label w/ some default text and want to avoid adding the extra file.</p>