         }
     }
     
-    var animationType = MBProgressHUDAnimation.MBProgressHUDAnimationFade
-    var mode = MBProgressHUDMode.MBProgressHUDModeIndeterminate {
+    var animationType = MBProgressHUDAnimation.Fade
+    var mode = MBProgressHUDMode.Indeterminate {
         didSet {
             self.updateIndicators()
             self.swift_performSelectorOnMainThread("setNeedsLayout", withObject: nil, waitUntilDone: false)

}

enum MBProgressHUDMode: Int {
    case MBProgressHUDModeIndeterminate = 0
    case MBProgressHUDModeDeterminate
    case MBProgressHUDModeDeterminateHorizontalBar
    case MBProgressHUDModeAnnularDeterminate
    case MBProgressHUDModeCustomView
    case MBProgressHUDModeText
}

enum MBProgressHUDAnimation: Int {
    case MBProgressHUDAnimationFade = 0
    case MBProgressHUDAnimationZoom
    case MBProgressHUDAnimationZoomOut
    case MBProgressHUDAnimationZoomIn
}

typealias MBProgressHUDCompletionBlock = () -> Void

    }
    
    // MARK: - UI
    private func setupLabels() {
        label = UILabel(frame: self.bounds)
        label!.adjustsFontSizeToFitWidth = false
        label!.textAlignment = NSTextAlignment.Center
