         } else if indexPath.section == 1 {
             var cell = collectionView.dequeueReusableCellWithReuseIdentifier(PhotoCell.reuseIdentifier, forIndexPath: indexPath) as! PhotoCell
             if cell.tag != 0 {
-                manager.cancelImageRequest(PHImageRequestID(cell.tag))
+                cachingImageManager.cancelImageRequest(PHImageRequestID(cell.tag))
             }
-            cell.tag = Int(manager.requestImageForAsset(recentPhotos[indexPath.row], targetSize: ImagePickerViewController.targetSize, contentMode: .AspectFit, options: nil) { (result, _) in
+            cell.tag = Int(cachingImageManager.requestImageForAsset(recentPhotos[indexPath.row], targetSize: ImagePickerViewController.targetSize, contentMode: .AspectFit, options: nil) { (result, _) in
                 cell.image = result
             })
             return cell

    // Photo Assets
    ///////////////////////////////////////
    
    private var recentPhotos: [PHAsset] = []
    
    public convenience init() {
        self.init(nibName: nil, bundle: nil)

            }
        } else if indexPath.section == 1 {
            let asset = recentPhotos[indexPath.row]
            cachingImageManager.requestImageForAsset(asset, targetSize: targetImageSize, contentMode: .AspectFit, options: nil) { (result, _) in
                self.delegate?.didSelectImage(result)
            }
        }
