             presentViewController(alert, animated: true, completion: nil)
         }
     }
-    
-    
+
     // =========================================================================
     // MARK: - UICollectionViewataSource
     

import UIKit
import Photos


class PhotosViewController: UICollectionViewController {


    @IBOutlet weak private var segmentedCtl: UISegmentedControl!
    
    
    private var images: [PHAsset]! = []
    private let imageManager = PHCachingImageManager()

    
    override func viewDidLoad() {
        super.viewDidLoad()

            targetSize: cell.imageView.frame.size,
            contentMode: .AspectFill,
            options: nil) { image, _ in
                cell.imageView.image = image
        }

        return cell
    }
    
    // =========================================================================
    // MARK: - Actions
