Latest 0.0.9
Homepage https://github.com/saqibomer/Loadmation
License MIT
Platforms ios 10.0
Authors

Awesome loading animation.

A custom loading animation for Swift.

https://raw.githubusercontent.com/saqibomer/Loadmation/master/demo.gif

Installation

iOS – Swift:

Add Loadmation to your pod file.

pod 'Loadmation'

Install Loadmation

pod install

Usage example

Import Loadmation.

import Loadmation

Initialize Loadmation

Create an object of Loadmation

var loadmation : Loadmation!

In your viewDidLoad() or any other method initialize object as:

self.loadmation = Loadmation(parent: self.containerView, style: Loadmation.Style.circular, frame: self.containerView.frame)

TIP: You can add container view any background color in storyboard.

Start loading animation

self.loadmation.startAnimation()

Stop loading animation

self.loadmation.stopLoadingAnimation()

Supported loading animation styles

  • Circular
    • Loadmation.Style.circular
    • Loadmation.Style.circular2
    • Loadmation.Style.arrow

Meta

Saqib Omer – @LinkedIn[email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/saqibomer/loadmation

Latest podspec

{
    "name": "Loadmation",
    "version": "0.0.9",
    "summary": "Simple Loading Animation",
    "description": "Add a loading animation to your project easily.",
    "homepage": "https://github.com/saqibomer/Loadmation",
    "screenshots": "https://raw.githubusercontent.com/saqibomer/Loadmation/master/sc.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Saqib": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/saqibomer/Loadmation.git",
        "tag": "0.0.9"
    },
    "source_files": "Src/**/*.{swift}",
    "resource_bundles": {
        "Loadmation": [
            "Src/Assets/**/*.png"
        ]
    },
    "pushed_with_swift_version": "4.0.2"
}

Pin It on Pinterest

Share This