Introduction

NVActivityIndicatorView is a collection of nice loading animations.

This is original a fork from DGActivityIndicatorView, inspired by Loaders.css, written in Swift with full implementation of animations.

You also find Objective-C version of this here.

Demo

alt tag

For first-hand experience, just open the project and run it.

Installation

Cocoapoads

Manual

Copy NVActivityIndicatorView folder to your project. That's it.

Usage

There are 3 ways you can do:

  • Create with specified type and size 40, color white as default
NVActivityIndicatorView(frame: frame, type: type)
  • Create with specified type, color and size 40 as default
NVActivityIndicatorView(frame: frame, type: type, color: color)
  • Create with specified type, color, size
NVActivityIndicatorView(frame: frame, type: type, color: color, size: size)

Acknowledgment

Thanks Connor Atherton for great loaders and Danil Gontovnik for kick-start.

License

The MIT License (MIT)

Copyright (c) 2015 Nguyen Vinh @ninjaprox