     }
 }
 
-extension ViewController: UIScrollViewDelegate {
+extension CubicCollectionViewController: UIScrollViewDelegate {
     private func angleForCell(at indexPath: IndexPath) -> CGFloat {
         let p = transitionProgressForCell(at: indexPath)
         return maxAngle * p

}


extension ViewController: UICollectionViewDataSource {
    final func numberOfSections(in collectionView: UICollectionView) -> Int {
        return 1
    }

//
//  CubicCollectionViewController.swift
//  CubicCollectionViewController
//
//  Created by andres portillo on 1/7/17.
//  Copyright © 2017 andres portillo. All rights reserved.
