title: Looping through CollectionView Cells in Swift
body: <p>I'm wondering how to loop through all of my CollectionView Cells that currently visible. </p>
  
  <p>In Objective C, I would achieve this concept seen below:</p>
  
  <pre><code>for(UICollectionView *cell in collectionView.visibleCells){
  
  }
  </code></pre>
  
  <p>I've tried changing this into swift:</p>
  
  <pre><code>for cell:MyCollectionViewCell in self.collectionView.visibleCells() as cell:MyCollectionViewCell {
  
  }
  </code></pre>
  
  <p>However I get the following error:</p>
  
  <pre><code>Type 'MyCollectionViewCell' does not conform to protocol 'SequenceType'
  </code></pre>
  
  <p>How do I loop through all my CollectionViewCells</p>