- Xcode 13+
.iOS(.v15)
.macOS(.v12)
On Xcode go to File
> Swift Packages
> Add Package Dependency
, and enter the URL below:
https://github.com/jobearrr/HUDHero.git
github "jobearrr/HUDHero"
👷 Comming up soon!
- Import
HUDHero
where you wish to use it:
import HUDHero
- Use the
HUDBuilder
to setup and build aHUD
to display on a SwiftUI view:
HUDBuilder()
.animation(.gradientCircle)
.foregroundColor(.accentColor)
.isLoading($viewModel.isLoading)
.build()
You can open the workspace in the repository's root folder to browse the demo app.
Displays the loading HUD while fetching the list of books matching the search entry: