title: How to wrap the UICollectionView
body: <p>I have used a horizontal collection view for scrolling the UILabel. In my array i have 30 item. When  i scroll to the 30th item it should again show the first item, its like a circular scroll. Following is my code and image which i want to achieve.</p>
  
  <pre><code>- (NSInteger) collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
    {
       return self.waitListArray.count;
    }
  
  - (UICollectionViewCell *) collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
  
   WaitListWarningTimeCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:kCollectionViewIdentifier forIndexPath:indexPath];
  cell.lblWaitingTime.text = [NSString stringWithFormat:@"%@m", self.waitListArray[indexPath.row]];
  
      if ([self.waitListArray[indexPath.row] intValue]==0) {
  
      cell.lblWaitingTime.text = @"Off";
  }
  
  if (indexPath.row == self.selectedIndex)
  {
      cell.lblWaitingTime.textColor = [UIColor blackColor];
  }
  else
  {
      cell.lblWaitingTime.textColor = [UIColor lightGrayColor];
  }
  
  return cell;
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/waem6.png" alt="enter image description here"></p>