completion handler on hide
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- swift
- Domain
- mobile-dev
Research direction
Start by locating the existing if hide timer and the HUD hide flow described in issue #103. Add a completion callback that runs after the delayed hide finishes, and verify that it supports the requested sequence of showing success text, hiding the HUD, and then dismissing the view controller.
Written by the indexing model from the issue text.
Description
Great work, thanks for making it available! This thing is sweet.
One minor feature request. It would be nice to get a callback after the if hide timer, since I typically have to take some action on my end. For example, I want to show "Success!" for 1.5 seconds and then dismiss my modal vc. The builtin hiding delay is thoughtful but I can't take advantage of it without a completion handler.
Typical flow:
- show hud for at least one second even if network request is quite fast
- show "Success!" for 1.5 seconds to give user a chance to read
- hide hud & dismiss view controller
- Dominant language
- Swift
- Stars
- 3k
- Forks
- 506
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from relatedcode/ProgressHUD
-
Custom Radius View Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
relatedcode/ProgressHUD#186 ·
-
Function limitation Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
relatedcode/ProgressHUD#171 · 1 comment ·
-
Banner size (width) Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
relatedcode/ProgressHUD#169 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
relatedcode/ProgressHUD#134 · 4 comments ·
All issues in relatedcode/ProgressHUD
Similar issues
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
skiptools/skip-fuse-ui#147 ·
-
area:collectors P2
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
catehstn/social-brain-app#183 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100