     required init?(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
     }
-
+    
     //MARK: - ***** public Method *****
-
+    
     public func endRefresh() {
         self.endAnimation()
     }

        super.layoutSubviews()
    }
    //MARK: - ***** private Method *****

    private func initUI() {
    
        self.addSubview(loadingView)
        loadingView.center = imgView.center
        loadingView.isHidden = true

        self.loadingView.isHidden = false
        self.loadingView.startAnimating()
        self.stateLab.text = Bundle.refreshString(key: .headerRefresh)
        UIView.animate(withDuration: 0.25) {
            self.scrollView.contentInset = UIEdgeInsets(top: self.sizeH, left: 0, bottom: 0, right: 0)
        }
    }
    private func endAnimation() {
        self.status = .pull
        UIView.animate(withDuration: 0.25, animations: {
            self.scrollView.contentInset = UIEdgeInsets.zero
        }) { (flag) in
            self.imgView.isHidden = false
            self.loadingView.stopAnimating()
