Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/payalumraliya/pugifloadercontrol
PUGifLoaderControl - swift is a clean and easy-to-use loader meant to display the progress of an ongoing task on iOS
https://github.com/payalumraliya/pugifloadercontrol
framework gif gifloader hud imageloader ios lazy-loading loader loading loading-animations loading-indicator loading-spinner payalumraliya progress pugifloadercontrol spinner swift swift-3 xcode
Last synced: 3 months ago
JSON representation
PUGifLoaderControl - swift is a clean and easy-to-use loader meant to display the progress of an ongoing task on iOS
- Host: GitHub
- URL: https://github.com/payalumraliya/pugifloadercontrol
- Owner: PayalUmraliya
- License: mit
- Created: 2017-09-02T16:20:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T06:00:46.000Z (almost 4 years ago)
- Last Synced: 2024-09-29T22:21:12.262Z (4 months ago)
- Topics: framework, gif, gifloader, hud, imageloader, ios, lazy-loading, loader, loading, loading-animations, loading-indicator, loading-spinner, payalumraliya, progress, pugifloadercontrol, spinner, swift, swift-3, xcode
- Language: Swift
- Homepage:
- Size: 368 KB
- Stars: 30
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PUGifLoading
[![CI Status](https://img.shields.io/travis/PayalUmraliya/PUGifLoading.svg?style=flat)](https://travis-ci.org/PayalUmraliya/PUGifLoading)
[![Version](https://img.shields.io/cocoapods/v/PUGifLoading.svg?style=flat)](https://cocoapods.org/pods/PUGifLoading)
[![License](https://img.shields.io/cocoapods/l/PUGifLoading.svg?style=flat)](https://cocoapods.org/pods/PUGifLoading)
[![Platform](https://img.shields.io/cocoapods/p/PUGifLoading.svg?style=flat)](https://cocoapods.org/pods/PUGifLoading)## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
### Example project output
## Requirements
## Installation
PUGifLoading is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'PUGifLoading'
```Using version specification
```ruby
pod 'PUGifLoading', :git => 'https://github.com/PayalUmraliya/PUGifLoaderControl.git', :branch => '1.0.3'
```#### USAGE
#### Showing the Loader
Import the control
```
import PUGifLoading
```Create an object for this control
```
let loading = PUGIFLoading()
```You can show the status of indeterminate tasks using one of the following ( GIF Or Activity indicator):
##### GIF Loader view - You can use any gif image according to your need.
```
loading.show("Loading", gifimagename: "foodloader")
```###### Update
```
loading.show("Loading", gifimagename: "foodloader",iWidth: 40,iHight: 40)
```* ###### Above function take 4 parameters
* 1 - Text to display (you can pass blank for no text to display)
* 2 - Name of gif image to show in loader
* 3 - Width for gif
* 4 - Height for gif##### Activity indicator Loader view
```
loading.showWithActivityIndicator("Loading", activitycolor: UIColor.yellow, labelfontcolor:UIColor.yellow , labelfontsize: 16.0,activityStyle: UIActivityIndicatorViewStyle.whiteLarge)
```* ###### Above function take 5 parameters
* 1 - Text to display
* 2 - activitycolor - color of indicator
* 3 - labelfontcolor - color of label
* 4 - labelfontsize - font size of text to display
* 5 - activityStyle - UIActivityIndicatorViewStyle of activity indicator#### Hiding the Loader
```
loading.hide()
```## License
The MIT License (MIT)
Copyright (c) 2021 TheKarma
## Author
Payal Umraliya [[email protected]]
ツツツツツツ