pablogsIO / GeometricLoaders

Fancy and beautiful loaders for you awesome apps!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeometricLoaders

License Platform

Fancy and beautiful loaders for you awesome apps!

Infinity loader

Orbit loader

Circles in motion loader

Blinking circles loader

Circle loader

Water Waves loader

Requirements

  • Swift 3,4

Installation

Manually

Just drag and drop Source folder in your project

Cocoapods

use_frameworks!

pod 'GeometricLoaders'

Using GeometricLoaders

It's very easy to use, just follow these steps:

Initializing

For Infinity loader...

var container: Infinity?

In viewDidAppear function of your ViewController add the following sentence:

container = Infinity.createGeometricLoader()

Start animation

container.startAnimation()

Stop animation

container.stopAnimation()

Customisations

Infinity

infinityGeometricLoader.circleColor = UIColor.red

CirclesInMotion

circlesInMotionGeometricLoader.circleColor = UIColor.red

BlinkingCircles

blinkingCirclesGeometricLoader.circleColor = UIColor.red
blinkingCirclesGeometricLoader.totalCircles = 10

Orbit

orbitGeometricLoader.circleColor = UIColor.red

CircleLoader

circleLoader.startGradientColor = UIColor.blue.cgColor
circleLoader.endGradientColor = UIColor.green.cgColor

WaterWaves

waterwavesLoader.numberCircles = 3
waterwavesLoader.circleColor = UIColor.green.cgColor

License

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

If you use it, I'll be happy to know about it.

About

Fancy and beautiful loaders for you awesome apps!

License:MIT License


Languages

Language:Swift 97.9%Language:Ruby 2.1%