Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FelixMLians/NVActivityIndicatorView

 
 

Repository files navigation

NVActivityIndicatorView

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 can also find Objective-C version of this here.

Demo

alt tag

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

Installation

Cocoapods

Install Cocoapods if need be

$ gem install cocoapods

Add NVActivityIndicatorView in your Podfile

pod 'NVActivityIndicatorView'

Then, run the following command

$ pod install

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

About

Collection of nice loading animations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.2%
  • Ruby 2.8%