Skip to content

ankush445/SwiftUI_Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Loader 🚀

A lightweight and customizable SwiftUI loader view with smooth animations. Perfect for showing loading states in modern iOS apps.


✨ Features

  • ⚡ Built with SwiftUI
  • 🔁 Smooth animations
  • 🧩 Easy to integrate
  • 📱 Lightweight and reusable

📦 Installation

Swift Package Manager

Add this package:

https://github.com/ankush445/SwiftUI_Loader.git

Or:

.package(url: "https://github.com/ankush445/SwiftUI_Loader.git", from: "1.0.0")

🚀 Usage

import SwiftUI_Loader

struct ContentView: View {
    
    @State private var isLoading = true
    
    var body: some View {
        Text("Hello World")
            .loadingIndicator(
                isLoading: isLoading,
                message: "Loading..."
            )
    }
}

🛠 Requirements

  • iOS 16+
  • Swift 5+
  • SwiftUI

📄 License

MIT License

About

A lightweight loader component for SwiftUI with smooth animations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages