Latest 1.2
Homepage https://github.com/ErAbhishekChandani/ACProgressHUD
License MIT
Platforms ios 8.0
Authors

ACProgressHUD

Lightweight control to show customisable Progress View in swift.

ACProgressHUD

Features

  • [x] Show Progress Hud with only one line of code.
  • [x] Customize the Progress HUD appeareance.
  • [x] Make global configuration for Progress HUD to show the same HUD through out the app.
  • [x] Show HUD with Animations.
  • [x] Show HUD with blur Background.
  • [x] Change the Show and Hide Animations for HUD.
  • [ ] The best is yet to come.

Installation

Installation with Cocopods

pod 'ACProgressHUD-Swift', '~> 1.2' 

Manual Installation

Download the Sample and drag & drop the ACProgressView.swift, ACProgressView.xib, ACProgressHUD.swift & ACHUD+Animation.swift files in your project.

How To Use.

1) Show Progress HUD.

let progressView = ACProgressHUD.shared
progressView.progressText = "Please wait..."
progressView.showHUD()

OR

ACProgressHUD.shared.showHUD()

2)Hide Progress HUD.

ACProgressHUD.shared.hideHUD()

ACProgressHUD + Animation

1) Grow In – Grow Out Animation :- Show HUD with Grow In animation & dismiss HUD with Grow Out animation.

ACProgressHUD

2) Shrink In – Shrink Out Animation :- Show HUD with Shrink In animation & dismiss HUD with Shrink Out animation.

ACProgressHUD

3) Bounce In – Bounce Out Animation :- Show HUD with Bounce In animation & dismiss HUD with Bounce Out animation.

ACProgressHUD

4) Slide from Top – Slide To Bottom :- Show HUD sliding from top & dismiss by sliding to bottom.

ACProgressHUD

5) Bounce from Top – Bounce To Bottom :- Show HUD sliding from top & dismiss by sliding to bottom with bounce animation.

ACProgressHUD

6) Zoom In Out – Fade :- Show HUD with zoom in out animation & dismiss with fade animation.

ACProgressHUD

7) Show HUD with transparent background.

ACProgressHUD

8) Show HUD with Blur background.

ACProgressHUD

ACPRogressHUD Configuration

1) Configurate ACProgressHUD once anywhere in app with following method.


ACProgressHUD.shared.configureACProgressHudStyle(withProgressText: "Hey Please wait..",hudBackgroundColor: UIColor.white, shadowColor: UIColor.black, shadowRadius: 10, cornerRadius: 5, indicatorColor: UIColor.blue, enableBackground: false, backgroundColor: UIColor.black, backgroundColorAlpha: 0.3, enableBlurBackground: false,showHudAnimation: .growIn,dismissHudAnimation: .growOut)

2) Change progress HUD text.


ACProgressHUD.shared.progressText = "Please wait..."

3) Change progress HUD Shadow Color.


ACProgressHUD.shared.shadowColor = .black

4) Change progress HUD Shadow Radius.


ACProgressHUD.shared.shadowRadius = 10.0

5) Change HUD Corner Radius.


ACProgressHUD.shared.cornerRadius = 10.0

6) Change HUD Indicator Color.


ACProgressHUD.shared.indicatorColor = .black

7) Change HUD Background color.


ACProgressHUD.shared.hudBackgroundColor = .black

8) Show or hide Dim background when Progress View is shown.


ACProgressHUD.shared.enableBackground = true

9) Show or hide Blur background when Progress View is shown.


ACProgressHUD.shared.enableBlurBackground = true

10) Show or hide Blur background when Progress View is shown.


ACProgressHUD.shared.blurBackgroundColor = true

11) Select HUD show animation.


ACProgressHUD.shared.showHudAnimation = .growIn

12) Select HUD Dismiss animation.


ACProgressHUD.shared.dismissHudAnimation = .growOut

13) Change Progress label text color.


ACProgressHUD.shared.progressTextColor = .black

Communication

  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute,please submit a pull request.

License

ACProgressHUD is released under the MIT license. See LICENSE for details.

ACProgressHUD A Control by Er. Abhishek Chandani

Latest podspec

{
    "name": "ACProgressHUD-Swift",
    "version": "1.2",
    "summary": "Lightweight ProgressHud for iOS apps in swift with some very awesome animations.",
    "description": "ACProgress HUD is lightweight library to show progress HUD in iOS apps with some very awesome animations and fully customizable appereance e.g. customize the show animation, dismiss animation, change the background color of HUD view, change the progress text, change the indicator color, show or hid dim background , change the transperancy of Background, Show Blur background etc.",
    "homepage": "https://github.com/ErAbhishekChandani/ACProgressHUD",
    "license": "MIT",
    "authors": {
        "Abhishek": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/ErAbhishekChandani/ACProgressHUD.git",
        "tag": "1.2"
    },
    "source_files": "Source/*.swift",
    "resources": "Source/*.xib",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This