title: NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter'
body: <p>Error signal SIGABRT NSInvalidArgumentException', reason: 'UICollectionView must be initialized with a non-nil layout parameter'.</p>
  
  <p>When UITableViewCell is pressed it should display UICollectionView</p>
  
  <pre><code>- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  UIViewController *viewController;
  switch (indexPath.row) {
  
      case IMAGE: 
          viewController = [[[CollectionViewController alloc] init] autorelease];
   [self.CollectionViewController registerClass:[UICollectionViewCell class]forCellWithReuseIdentifier:@"Cell"];
  
          case PROCEDURAL:
          viewController = [[[ProceduralExampleViewController alloc] init] autorelease]; 
          break;
      default: 
          viewController = [[[UIViewController alloc] init] autorelease];
  } 
  [self.navigationController pushViewController:viewController animated:YES];
  }
  </code></pre>
  
  <p>Using storyboard file for collection view segue.</p>
  
  <p>How to solve this error <strong>UICollectionView must be initialized with a non-nil layout parameter</strong></p>
  
  <p>Thanks for help.</p>