NNLoaderView

A activity indicator view with friendly customization where you can customize Animation and text


License
GPL-3.0-only
Install
pod try NNLoaderView

Documentation

NNLoaderView

A simple loader view with easy customization.

Integration: CocoaPods (iOS 11+)

platform :ios, '11.0'
use_frameworks!
target 'MyApp' do
    pod 'NNLoaderView',  :git => 'https://github.com/NeevNaveen/NNLoaderView'
end

HOW TO USE

  • Set the Loader in the App Delegate's - didFinishLaunchingWithOptions

    NNLoaderView.shared.circleCount = 4;
    NNLoaderView.shared.circleRadius = 10;
    NNLoaderView.shared.circleColor = UIColor.purple;
    NNLoaderView.shared.changeColor = UIColor.cyan;

    Types of Animations to choose from

    NNLoaderView.shared.animationType = .scale;
    NNLoaderView.shared.animationType = .bounce;
    NNLoaderView.shared.animationType = .fadeInOutLenear;
    NNLoaderView.shared.animationType = .changeColor;
  • Now use it in your ViewController

        NNLoaderView.shared.show(inView: self.view); // To add the loaderview
        NNLoaderView.shared.remove(); // To remove the loaderview