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

    
    var headerImageView : UIImageView!
    
    let kHeaderViewHeight : CGFloat = 480
    let kHeaderImageViewHeight : CGFloat = 375
    
    let kStatusBarMagicLine : CGFloat = 100
    let kParalaxImageViewScrollRate : CGFloat = 0.50

    override func viewDidLoad() {
        super.viewDidLoad()

        
    }
    
    
    func setupStatusBarBackgroundView(){
        
        let effect = UIBlurEffect(style: UIBlurEffectStyle.Light)
        
        let viewWithBlurredBackground = UIVisualEffectView(effect: effect)
        viewWithBlurredBackground.frame = UIApplication.sharedApplication().statusBarFrame
        viewWithBlurredBackground.alpha = 1.0
        
        statusBarBackgroundView = UIView(frame: UIApplication.sharedApplication().statusBarFrame)
        statusBarBackgroundView .backgroundColor = UIColor.clearColor()
        statusBarBackgroundView .alpha = 0.0
        statusBarBackgroundView .addSubview(viewWithBlurredBackground)
        
        self.view.addSubview(statusBarBackgroundView)
   
    }
    
    func animateInStatusBarBackgroundView(isInOrOut : Bool){
    
        var alpha : CGFloat = 0.0
        
        if(isInOrOut == true){
          
            alpha = 1.0
            
        }
        else{
            
            alpha = 0.0
            
        }
        
        UIView.animateWithDuration(kStatusBarBackgroundViewFadeDuration, animations: {
            self.statusBarBackgroundView.alpha = alpha
        })
        
    }
    
    
    func setupHeaderView(){
        
        headerImageView = UIImageView(frame: CGRectMake(0, 0, view.frame.width, kHeaderImageViewHeight))
