title: IOS Swift UICollectionView,I want a different tag for every cell?
body: <p>You know at <code>tableviews</code> you can set up an array and than put every element of the array as a text for the <code>row</code> For example:</p>
  
  <p>I have a <code>tableView</code>.</p>
  
  <p>An <code>array : items = ["hello","world","yes"]</code></p>
  
  <p>And in the <code>cellForRowAtIndexPath</code> function you just say: <code>cell.text = items[indexPath.row]...</code>This is a short example.</p>
  
  <p>So now is the problem.I have a collection view,which has two columns(<code>numberOfItemsInSection</code> function returns this),and I have 33 rows(<code>numberOfSectionsInCollectionView</code> function returns this)....this means I have <code>66(2x33)</code> cells.I want for each cell to display another text in it,so I made an array "items" of Strings which has 66 elements.From position 0 to position 65...how can I do like in the example at the tableview,just write <code>cell.text = items[I DON'T KNOW WHAT TO WRITE HERE]...</code>this is my problem.I don't know how to identify each cell,to be different from each other.
  I would specify that if I would write: <code>cell.text = items[indexPath.row]</code> it would put in the first column the first item of the array,in the second column the second item of the array and thats all. I also tried with <code>indexPath.item</code> but it does the same like <code>indexPath.row</code>.</p>
  
  <p>Thank you for help! It would help me a lot!</p>