GeometricLoaders

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

GitHub