         }
             
         return lastIndex
+    }
+    
+    var selectedPhotos: [UIImage] {
+        get {
+            var selectedPhotos = [UIImage]()
+            for index in self.selectedPhotoIndices {
+                selectedPhotos.append(self.photos[index])
+            }
+            
+            return selectedPhotos
+        }
     }
     
     private var titles: [NSString] {

        }
        
        if dismiss {
            self.dismissWithClickedButtonIndex(buttonIndex, animated: true)
        }
    }

            
            self.setNeedsLayout()
            UIView.animateWithDuration(BRNImagePickerSheet.enlargementAnimationDuration*5, animations: { () -> Void in
                self.tableView.beginUpdates()
                self.tableView.endUpdates()
                self.layoutIfNeeded()
                //self.collectionView.scrollToItemAtIndexPath(indexPath, atScrollPosition: .CenteredHorizontally, animated: false)
                scrolled = true
                }, completion: { (finished) -> Void in
                    let layout: BRNHorizontalImagePreviewFlowLayout = self.collectionView.collectionViewLayout as BRNHorizontalImagePreviewFlowLayout
