         cv.backgroundColor = ImagePickerViewController.bgColor
         return cv
         }()
-    
-    
+
+
     ///////////////////////////////////////
     //  UIViewController Lifecycle
     ///////////////////////////////////////
-    
+
     public override func loadView() {
         super.loadView()
         initCamera()
     }
-    
+
     public override func viewDidLoad() {
         super.viewDidLoad()
         dispatch_async(dispatch_get_main_queue()) {

            fatalError("Don't know about section \(indexPath.section)")
        }
    }
    
    public func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
        if indexPath.section == 0 {
            capturePhoto { photo in

            cachingImageManager.startCachingImagesForAssets(self.recentPhotos, targetSize: targetImageSize, contentMode: .AspectFit, options: nil)
        }
    }

    public func photoLibraryDidChange(changeInfo: PHChange) {
        fetchImageAssets()
    }

    ///////////////////////////////////////
    // Initialization
    ///////////////////////////////////////

    public init(targetImageSize: CGSize = PHImageManagerMaximumSize, cameraPreset: String = AVCaptureSessionPresetPhoto, pickerHeight: CGFloat = 280, dismissOnTap: Bool = true) {
        self.dismissOnTap = dismissOnTap
        self.targetImageSize = targetImageSize
        self.photoSessionPreset = cameraPreset
        self.pickerHeight = pickerHeight

        super.init(nibName: nil, bundle: nil)

        setUp()
    }

    required public init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    ///////////////////////////////////////
    // Views
    ///////////////////////////////////////

    private let pickerContainer: UIView = {
        let v = UIView(frame: .zero)
        v.backgroundColor = ImagePickerViewController.bgColor
