     
    
 
-    func  installConstraints() {
-        if _hasInstalledConstraints{
-            return
-        }
-        _hasInstalledConstraints = true
-        
-        NSLog("\(__FUNCTION__)")
-        hudSize = measure()
-        let yPos = (bounds.height - hudSize.height) * 0.5 + margin + yOffset
-        let allViews:[UIView?] = [ indicator,label,detailsLabel ]
-        let padding = BXProgressOptions.padding
-        var prevView:UIView?
-        for view in allViews{
-            if let view  = view{
-                view.translatesAutoresizingMaskIntoConstraints = false
-                view.pinCenterX()
-                if let prevView = prevView{
-                    view.pinBelowSibling(prevView, margin: padding)
-                }else{
-                    view.pinTop(yPos)
-                }
-                prevView = view
-            }
-        }
-        
-    }
+
     
     func measure() -> CGSize{
         if let p = superview{

    }
    
    
    deinit{
        NSNotificationCenter.defaultCenter().removeObserver(self)
    }

extension BXProgressHUD{
    // MARK: KVO
    func shouldUpdateIndicators(){
        removeConstraints(_prevModeConstraints)
        _hasInstalledConstraints  = false
        updateIndicators()
        setNeedsUpdateConstraints()
    }
    
    
    func shouldUpdateUI(){
        setNeedsLayout()
