   
   static let sharedView = HUD()
   
+  var notification: Notification?
+  
   var GCDLock = false
   
   let backView = UIView()

    
    backView.frame = CGRect(x: 0, y: 0, width: frame.width, height: frame.height)
    backView.backgroundColor = backColor
//    backView.alpha = 1
    backView.layer.cornerRadius = 15
    backView.layer.masksToBounds = true
    

    if GCDLock { return }
    // 计算文本
    calculateSize(string: string)
    
    /// 设置图片
    func setImage(name: String) {
