     
     public func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
         if indexPath.section == 0 {
-            if assets.count > 0 {
-                return enlargedPreviews ? tableViewEnlargedPreviewRowHeight : tableViewPreviewRowHeight
-            }
-            
-            return 0
+            return enlargedPreviews ? tableViewEnlargedPreviewRowHeight : tableViewPreviewRowHeight
         }
         
         return 50

    public func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
        let cell = collectionView.dequeueReusableCellWithReuseIdentifier(NSStringFromClass(ImageCollectionViewCell.self), forIndexPath: indexPath) as! ImageCollectionViewCell
        
        let asset = assets[indexPath.section]
        let size = sizeForAsset(asset)
        
        requestImageForAsset(asset, size: size) { image in
            cell.imageView.image = image
        }
        
        cell.selected = contains(selectedImageIndices, indexPath.section)
        
        return cell
    }
    

    public func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        if indexPath.section == 0 {
            let cell = tableView.dequeueReusableCellWithIdentifier(NSStringFromClass(ImagePreviewTableViewCell.self), forIndexPath: indexPath) as! ImagePreviewTableViewCell
            if allAssets.count > 0 {
                cell.collectionView = collectionView
                cell.separatorInset = UIEdgeInsets(top: 0, left: tableView.bounds.width, bottom: 0, right: 0)
                
            }else {
                indicatorView = UIActivityIndicatorView()
                cell.addSubview(indicatorView)
                indicatorView.hidesWhenStopped = true
                indicatorView.frame = CGRectMake(cell.center.x-15, cell.center.y-15, 30, 30)
                indicatorView.activityIndicatorViewStyle = UIActivityIndicatorViewStyle.Gray
                indicatorView.startAnimating()
            }
           
            return cell
        }
        
