title: UICollectionView Static CustomCell reuse
body: <p>I have a problem i create <strong>UICollectionView</strong> with custom cell to display items. But after refresh of the <strong>UICollectionView</strong> reusable cell populate for wrong index</p>
  
  <p><strong>UICollectionView before refresh.</strong></p>
  
  <p><img src="https://i.stack.imgur.com/VzE5H.png" alt="enter image description here"></p>
  
  <p><strong>UICollectionView after refresh.</strong></p>
  
  <p><img src="https://i.stack.imgur.com/BpXmz.png" alt="enter image description here"></p>
  
  <p>Code example of the reusable collection view cell.</p>
  
  <pre><code>- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
  
      GalleryCollectionCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath];
  
      if (indexPath.item != 0)
      {
          [cell setCollectionItem:[collectionData_ objectAtIndex:indexPath.row - 1]];
      }
  
      return cell;
  
  }
  </code></pre>