title: Loading url image array add to UIcollectionview
body: <p>I want to load images array from Url and add to <code>UICollectionView</code> </p>
  
  <pre><code>Tony.pageImages =imagearray;
  [Tony reloadData];
  NSLog(@"imagearray%@",imagearray);
  </code></pre>
  
  <p>Tony is Collection view.h/m files. <code>pageImages</code> is <code>NSMutableArray</code> on the <code>Tony.h</code> files. The Image array display console log mean i got image array correctly
  Those are Url.
  but when  i add code on the <code>UICollectionView</code> method it doesn't work</p>
  
  <pre><code>-(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath 
  {
  
  UICollectionViewCell *cell = 
  
  [collectionView dequeueReusableCellWithReuseIdentifier:reuseIdentifier forIndexPath:indexPath];
  
  UIImageView *CollectionViewImage = (UIImageView *)[cell viewWithTag:120];
  
  CollectionViewImage.image= [UIImage imageNamed:self.pageImages[indexPath.row]];
  
   return cell;
  
  }
  </code></pre>
  
  <p>Do i miss something ?  </p>
  
  <p>This is my imagearray</p>
  
  <p>imagearray = [[NSMutableArray alloc]init];</p>
  
  <pre><code>for (int i = 0;i &lt; comment.count; i++) 
  </code></pre>
  
  <p>{</p>
  
  <p>[imagearray addObject:comment[i][@"pic_url"]] ;</p>
  
  <p>}</p>