A lightweight and customizable SwiftUI loader view with smooth animations. Perfect for showing loading states in modern iOS apps.
- ⚡ Built with SwiftUI
- 🔁 Smooth animations
- 🧩 Easy to integrate
- 📱 Lightweight and reusable
Add this package:
https://github.com/ankush445/SwiftUI_Loader.git
Or:
.package(url: "https://github.com/ankush445/SwiftUI_Loader.git", from: "1.0.0")import SwiftUI_Loader
struct ContentView: View {
@State private var isLoading = true
var body: some View {
Text("Hello World")
.loadingIndicator(
isLoading: isLoading,
message: "Loading..."
)
}
}- iOS 16+
- Swift 5+
- SwiftUI
MIT License