Skip to content

Conversation

@idelrich
Copy link

Initial commit of MBProgressHUD in swift.

  • Removes (didn't port) all deprecated functionality
  • Requires iOS8 or later
  • Adds "labelAboveIndicator" BOOL property which allows the progress hud to be used like a "super-UIAlertView" when combined with complex custom views.

@NikKovIos
Copy link

@shubh10 It's good, but i need grace feature.

@idelrich
Copy link
Author

idelrich commented Aug 30, 2017 via email

@NikKovIos
Copy link

NikKovIos commented Aug 31, 2017

/*
 * Grace period is the time (in seconds) that the invoked method may be run without
 * showing the HUD. If the task finishes before the grace time runs out, the HUD will
 * not be shown at all.
 * This may be used to prevent HUD display for very short tasks.
 * Defaults to 0 (no grace time).
 */
@property (assign, nonatomic) NSTimeInterval graceTime;

Also there are no blur effect for the background. And appearence animations.

@idelrich
Copy link
Author

idelrich commented Aug 31, 2017 via email

@chrisvanbuskirk
Copy link

I'm playing with it. Thoughts...

static func hideHUDFor(_ view: UIView, animated: Bool = true) -> Bool
Should probably have a discardableResult.

Why is the bezelview private? (rhetorical question)

Good work.

@idelrich
Copy link
Author

idelrich commented Oct 20, 2017 via email

@chrisvanbuskirk
Copy link

Finally, you have several warnings to update. I implemented it and it's working well.

@tomaszmaciejko
Copy link

Is anyone working on this PR or is it abandoned?
I have several thoughts on this implementation and I can help with the PR review.

@idelrich
Copy link
Author

idelrich commented Nov 29, 2018 via email

@raymond-liao
Copy link

I did a swift version of the MBProgressHUD:
https://github.com/growup-together/KProgressHUD

Wish for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants