title: UICollectionView not showing pictures
body: <p>I am showing the Pictures in all of the Directories however It does not display the pictures. I am putting NSLog in the code so that I can find out which code is working and I only get "j" in the log.  I do not see the "a" in the log.  What do you think is wrong?</p>
  
  <pre><code> - (void)viewDidLoad
      {
          [super viewDidLoad];
          // Do any additional setup after loading the view.
          allImagesArray = [[NSMutableArray alloc] init];
          NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
          NSString *documentsDirectory = [paths objectAtIndex:0];
          NSArray *locations = [[NSArray alloc]initWithObjects:@"Bottoms", @"Dress", @"Coats", @"Others", @"hats", @"Tops",nil ];
          NSString *fPath = documentsDirectory;
          for(NSString *component in locations)
          {
              fPath = [fPath stringByAppendingPathComponent:component];
          }
          NSArray *directoryContent = [[NSFileManager defaultManager] directoryContentsAtPath: fPath];
          collectionTrash.delegate =self;
          collectionTrash.dataSource=self;
          for(NSString *str in directoryContent){
              NSLog(@"i");
              NSString *finalFilePath = [fPath stringByAppendingPathComponent:str];
              NSData *data = [NSData dataWithContentsOfFile:finalFilePath];
              if(data)
              {
                  UIImage *image = [UIImage imageWithData:data];
                  [allImagesArray addObject:image];
                  NSLog(@"array:%@",[allImagesArray description]);
              }}
          for(NSString *folder in locations) {
  
              // get the folder contents
  
              for(NSString *file in directoryContent) {
  
                  // load the image
  
              }
          }}
  
      - (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView
      {
          NSLog(@"j");
          return 1;
      }
  
      - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
      {
          return [allImagesArray count];
  
  
      }
  
  
      -(UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
      {
          static NSString *reuseID = @"ReuseID";
          TrashCell *mycell = (TrashCell *) [collectionView dequeueReusableCellWithReuseIdentifier:reuseID forIndexPath:indexPath];
          UIImageView *imageInCell = (UIImageView*)[mycell viewWithTag:1];
          imageInCell.image = [allImagesArray objectAtIndex:indexPath.row];
          NSLog(@"a");
          return mycell;
      }
  </code></pre>
  
  <p>Feel free to as for more code.</p>