Note: This library is a complete 1:1 Objective-C port of the original Swift NVActivityIndicatorView library. All animations and functionality have been faithfully recreated for Objective-C projects.
NVActivityIndicatorView-ObjC is a collection of awesome loading animations for iOS applications written in Objective-C. It provides 30+ different types of loading indicators with customizable colors, sizes, and animation speeds.
- ✅ 30+ Beautiful Animations: A wide variety of loading indicators to choose from
- ✅ Customizable: Easy to customize colors, sizes, and animation speeds
- ✅ Lightweight: Minimal impact on your app's performance
- ✅ Easy Integration: Simple API for quick implementation
- ✅ Speed Control: Dynamic animation speed adjustment
- ✅ iOS 9.0+: Supports iOS 9.0 and above
The library includes the following animation types:
- BallPulse
- BallGridPulse
- BallClipRotate
- SquareSpin
- BallClipRotatePulse
- BallClipRotateMultiple
- BallPulseRise
- BallRotate
- CubeTransition
- BallZigZag
- BallZigZagDeflect
- BallTrianglePath
- BallScale
- LineScale
- LineScaleParty
- BallScaleMultiple
- BallPulseSync
- BallBeat
- LineScalePulseOut
- LineScalePulseOutRapid
- BallScaleRipple
- BallScaleRippleMultiple
- BallSpinFadeLoader
- LineSpinFadeLoader
- TriangleSkewSpin
- Pacman
- BallGridBeat
- SemiCircleSpin
- BallRotateChase
- Orbit
- AudioEqualizer
- CircleStrokeSpin
- BallDoubleBounce
To run the example project, clone the repo, and run pod install
from the Example directory first.
git clone https://github.com/maitrungduc1410/NVActivityIndicatorView.git
cd NVActivityIndicatorView/Example
pod install
open NVActivityIndicatorView.xcworkspace
NVActivityIndicatorView-ObjC is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'NVActivityIndicatorView-ObjC'
#import <NVActivityIndicatorView_ObjC/NVActivityIndicatorView.h>
// Create an activity indicator
NVActivityIndicatorView *activityIndicatorView = [[NVActivityIndicatorView alloc]
initWithFrame:CGRectMake(0, 0, 40, 40)
type:NVActivityIndicatorTypeBallPulse
color:[UIColor blueColor]
padding:0];
// Add to your view
[self.view addSubview:activityIndicatorView];
// Create with custom animation speed
NVActivityIndicatorView *activityIndicatorView = [[NVActivityIndicatorView alloc]
initWithFrame:CGRectMake(0, 0, 40, 40)
type:NVActivityIndicatorTypeBallPulse
color:[UIColor redColor]
padding:0];
// Set animation speed (1.0 = normal, 2.0 = 2x faster, 0.5 = 2x slower)
activityIndicatorView.animationSpeedMultiplier = 1.5;
[self.view addSubview:activityIndicatorView];
This library is a complete Objective-C port of the original Swift NVActivityIndicatorView by Vinh Nguyen. All credit for the original animations and design goes to the original author.
NVActivityIndicatorView-ObjC is available under the MIT license. See the LICENSE file for more info.