Latest 0.1.2
Homepage https://github.com/PayalUmraliya/PUGifLoading
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Example project output

PUGifLoading

Requirements

Installation

PUGifLoading is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'PUGifLoading'

Install Using Framework follow this link

https://github.com/PayalUmraliya/PUGifLoaderControl.git

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")
  • Above function take 2 parameters
  • 1 – Text to display
  • 2 – Name of gif image to show in loader
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()

Author

PayalUmraliya, [email protected]

License

PUGifLoading is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "PUGifLoading",
    "version": "0.1.2",
    "summary": "Clean and easy-to-use and light weight loader meant to display the progress of an ongoing task on iOS",
    "swift_version": "3.2",
    "description": "PUGifLoaderSourcenPUGifLoader swift with source codenAlternative of https://github.com/PayalUmraliya/PUGifLoaderControlnIf anybody have issue in framework import then they can use this source code instead of framework.nPUGifLoader is a clean and easy-to-use and light weight loader meant to display the progress of an ongoing task on iOS.nYou can show the status of indeterminate tasks using one of the following ( GIF Or Activity indicator):n=== > GIF Loader view - You can use any gif image according to your need.nPuLoadingView.show("Loading", gifimagename: "foodloader")n=== > Activity indicator Loader viewnPuLoadingView.showWithActivityIndicator("Loading", activitycolor: UIColor.yellow, labelfontcolor:UIColor.yellow , labelfontsize: 16.0,activityStyle: UIActivityIndicatorViewStyle.whiteLarge)n=== > Hiding the LoadernPuLoadingView.hide()n:)",
    "homepage": "https://github.com/PayalUmraliya/PUGifLoading",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "PayalUmraliya": "[email protected]"
    },
    "source": {
        "git": "https://github.com/PayalUmraliya/PUGifLoading.git",
        "tag": "0.1.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "PUGifLoading/Classes/**/*"
}

Pin It on Pinterest

Share This