title: Why is my UICollectionView cell not clickable in my swift ios app?
body: <p>I'm using <code>UICollectionView</code> in my swift class, it's placed on my <code>UIViewController</code>. I connected the collectionView to the outlet in my code, I set up <code>delegate</code> and <code>datasource</code> and I see the outcome in my app. Everything works besides the fact that when I click each cell - nothing happens.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>class UsersList: UIViewController, UICollectionViewDataSource, UICollectionViewDelegate {
  
  
  @IBOutlet weak var tview: UICollectionView!
  
  override func viewWillAppear(animated: Bool) {
      super.viewWillAppear(animated)
  
      tview.backgroundColor = UIColor.whiteColor() //this works
      tview.delegate = self
      tview.dataSource = self
  }
  
  func collectionView(tview: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
      print("You selected cell #\(indexPath.item)!")
      //this does not appear in the console :(
  }
  </code></pre>
  
  <p>Is there anything else I could do to see the print msg in the console?</p>