A versatile Swift 5.0+ library to programmatically create loading, downloading, and error indicators without Storyboard. JGProgressHUD
- Customizable Loading Indicators: Create and customize loading indicators to fit the design of your application.
- Download Progress Indicators: Show progress bars or other indicators to represent download status.
- Error Indicators: Display error messages or icons when an operation fails.
- Support for Swift 5.0+: Built with the latest version of Swift for compatibility and performance.
- Programmatic UI: All indicators can be created and managed programmatically, providing flexibility and control.
- iOS 16.0+ or macOS 13.0+
- Xcode 14.0+
- Swift 5.0+
To integrate Progress-Indicators into your Xcode project, follow these steps:
-
Clone the repository:
git clone https://github.com/aidinahmadian/Progress-Indicators
-
Open the project: Navigate to the project directory and open
Progress Indicators.xcodeproj
in Xcode. -
Build the project: Build and run the project to see the indicators in action.
To use the indicators in your project, include the necessary Swift files and use the provided methods to display the indicators. Below is a basic example of how to create and display a loading indicator:
import ProgressIndicators
let loadingIndicator = LoadingIndicator()
loadingIndicator.show()
For detailed usage and advanced customization, you can refer to JGProgressHUD as a similar library with extensive documentation and examples.
You can customize the appearance and behavior of the indicators by modifying their properties. For example:
loadingIndicator.color = .blue
loadingIndicator.size = CGSize(width: 50, height: 50)
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
Created by Aidin. For more information, visit my GitHub profile.
Feel free to reach out with any questions or feedback!