 
 import UIKit
 
+let PhotoBrowserControllerIdentifer = "PhotoBrowserControllerIdentifer"
 class PhotoBrowserController: UIViewController {
     
     var index : Int?

            make.width.equalTo(100)
            make.height.equalTo(30)
        }
        
        closeBtn.addTarget(self, action: "dismissController", forControlEvents: UIControlEvents.TouchUpInside)
    }
    
    func dismissController(){

    }
    
}

extension PhotoBrowserController : UICollectionViewDataSource
{
    func collectionView(collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
        print("urls.count = \(urls?.count)")
        return urls?.count ?? 0
    }
    
    func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell {
        let cell = collectionView.dequeueReusableCellWithReuseIdentifier(PhotoBrowserControllerIdentifer, forIndexPath: indexPath)
        cell.backgroundColor = UIColor.greenColor()
        return cell
    }
}