ProgressHUD
is a clean and easy-to-use HUD meant to display the progress of an ongoing task of a status message on macOS.
Displays a simple HUD containing an optional progress indicator or cusom view and optional status message.
The ProgressHUD spans over the entire screen or in the containerView if provided.
- Easy to use API
- Present a HUD over the whole screen or within a window or view
- Sensible defaults for one line instantiation
- Highly customizable theme and settings
- Option to prevent user operations on components below the view
- Optional completion handler called when HUD is completely hidden
- Appear and Disappear notifications
- macOS 10.11+
- Xcode 10
- TODO
- Download and drop
ProgressHUD.swift
in your project. - Congratulations!
One liner:
ProgressHUD.showSuccessWithStatus("Success!")
Customization example:
ProgressHUD.setDefaultStyle(.custom(foreground: .yellow, backgroud: .red))
ProgressHUD.setDefaultMaskType(.black)
ProgressHUD.setDefaultPosition(.center)
See demo app for more examples and read documentation for the APIs in the ProgreessHUD.swift
file.
We would love you for any contribution to ProgressHUD, check the LICENSE
file for more info.
ProgressHUD
was inspired by SVProgressHUD and MBProgressHUD-OSX
Massimo Biolcati – @MassimoBi0lcati @iRealProApp
ProgressHUD
is distributed under the terms and conditions of the MIT license.