         self.hideBlock      = hideBlock
     }
 }
+
+


public class GKCover: UIView, CAAnimationDelegate {

    var coverShow     : Bool = false
    var animated      : Bool = false
    var notclick      : Bool = false

                UIView.animate(withDuration: kAnimDuration, animations: { 
                    self.contentView.center = self.fromView.center
                }, completion: { (finished) in
                    if showBlock != nil {
                        self.showBlock!();
                    }
                })
            }else if showAnimStyle == .Center {
                contentView!.center = fromView.center
