GitHub - jobearrr/HUDHero: A customizable, easy-to-integrate, and cross-platform animated HUD built with SwiftUI · GitHub
Skip to content

Repository files navigation

🦸 HUDHero

GitHub last commit CI Status Maintainability Test Coverage SPM Compatible Carthage Compatible MIT License

Requirements

  • Xcode 13+

Supported Platforms

  • .iOS(.v15)
  • .macOS(.v12)

Installation

Swift Package Manager

On Xcode go to File > Swift Packages > Add Package Dependency, and enter the URL below: https://github.com/jobearrr/HUDHero.git

Carthage

github "jobearrr/HUDHero"

CocoaPods

👷 Comming up soon!

Usage

  1. Import HUDHero where you wish to use it:
import HUDHero
  1. Use the HUDBuilder to setup and build a HUD to display on a SwiftUI view:
HUDBuilder()
    .animation(.gradientCircle)
    .foregroundColor(.accentColor)
    .isLoading($viewModel.isLoading)
    .build()

Demo App

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:

hudhero_sim_demo.mp4

About

A customizable, easy-to-integrate, and cross-platform animated HUD built with SwiftUI

Resources

Code of conduct

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages