title: How to disable the reload in collection view
body: <p>I am having UI collection view multiple cells.I am dynamically showing data from the web service.Whenever I scroll the collection view the data automatically changing.I want to disable the feature.</p>
  
  <p>My code.</p>
  
  <pre><code>- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
      //return [names count];
      return myObject.count;
  }
  
  - (UIView *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
      CollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"CELL" forIndexPath:indexPath];
       NSString*  statusfield = [NSString stringWithFormat:@"%@",[tmpDict objectForKey:@"StatusId"]];
        if([statusfield isEqualToString:@"13"])
      {
           [cell.mySegmentedControl setTitle:@"SEND TO ADMIN" forSegmentAtIndex:0];
           [cell.mySegmentedControl setTitle:@"EVALUATE" forSegmentAtIndex:1];
      }
      if([statusfield isEqualToString:@"5"])
      {
         [cell.mySegmentedControl setEnabled:NO forSegmentAtIndex:0];
         [cell.mySegmentedControl setEnabled:NO forSegmentAtIndex:1];
      }
      if([statusfield  isEqualToString: @"1"])
      {
          [cell.mySegmentedControl setTitle:@"ACCEPT" forSegmentAtIndex:0];
          [cell.mySegmentedControl setTitle:@"REJECT" forSegmentAtIndex:1];
      }
  }
  </code></pre>
  
  <p>when I scroll the mycollection view.The above segments values automatically changed because of reload function.Any help will be appreciated.</p>