- July 26, 2025
- Mins Read
Simple HUD.
VHUD is inspired by PKHUD.
import VHUD
func example() {
var content = VHUDContent(.loop(3.0))
content.loadingText = “Loading..”
content.completionText = “Finish!”
VHUD.show(content)
}
// duration, deley(Option), text(Option), completion(Option)
VHUD.dismiss(1.0, 1.0)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .round
VHUD.show(content)
And Custom (using closure)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .light
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .dark
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .blur(.light)
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .blur(.light)
content.background = .none
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .dark
content.background = .color(#colorLiteral(red: 0.937254902, green: 0.937254902, blue: 0.9568627451, alpha: 0.7))
VHUD.show(content)
var content = VHUDContent(.loop(3.0))
content.shape = .circle
content.style = .light
content.background = .blur(.dark)
VHUD.show(content)
OS | Swift | |
---|---|---|
v1.1.x | iOS 8+ | 3.0 |
v1.2.x | iOS 8+ | 3.2 |
v1.3.x | iOS 9+ | 4.1 |
v1.4.x | iOS 9+ | 4.2 |
v1.5.x | iOS 10+ | 5.0 |
You can use CocoaPods to install VHUD
by adding it to your Podfile
:
use_frameworks!
pod ‘VHUD’
To get the full benefits import VHUD
wherever you import UIKit
import UIKit
import VHUD
You can use Carthage to install VHUD
by adding it to your Cartfile
:
github “xxxAIRINxxx/VHUD”
To get the full benefits import VHUD
wherever you import UIKit
import UIKit
import VHUD
/Sources
folder in your project.NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...