Loading repository data…
Loading repository data…
maitrungduc1410 / repository
About A collection of awesome loading animations written in Objective C
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
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.
The library includes the following animation types:
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.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.