     override func viewDidLoad() {
         super.viewDidLoad()
         setupUI()
-        // Do any additional setup after loading the view.
+        collectionV.dataSource = self
+        closeBtn.addTarget(self, action: "dismissController", forControlEvents: UIControlEvents.TouchUpInside)
+        collectionV.registerClass(UICollectionViewCell.self, forCellWithReuseIdentifier: PhotoBrowserControllerIdentifer)
     }
 
     func setupUI(){

            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
    }
}