         headerImageView.image = UIImage(named: "photo1")
         
         
-        
         headerImageView.clipsToBounds = true
-        
-       //headerImageView.contentMode = UIViewContentMode.ScaleAspectFill
         
         self.view.addSubview(headerImageView)
         self.view.insertSubview(headerImageView, belowSubview: collectionView)

        
        Utils.registerNibWithCollectionView("ProfileCollectionViewCell", collectionView: collectionView)
        
//        self.refreshControl = UIRefreshControl()
//        self.refreshControl.addTarget(self, action: "userTriggeredRefresh", forControlEvents: UIControlEvents.ValueChanged)
//        self.refreshControl.hidden = true
//        
//        self.collectionView.addSubview(refreshControl)
    }
    
    

        setupCollectionView()
        
        setupHeaderView()
        
        setupStatusBarBackgroundView()

        // Do any additional setup after loading the view.
    }
