Skip to content
DGActivityIndicatorView is a great way to make loading spinners in your application look nicer. It contains 32 different indicator view styles.
Branch: master
Clone or download
gontovnik Merge pull request #23 from humblehacker/master
Fix issue with misplaced spinner
Latest commit 38adb92 Oct 24, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DGActivityIndicatorExample.xcodeproj Fixed issue with animations being stuck Aug 10, 2016
DGActivityIndicatorExample Update project to recommented settings (xcode7) Sep 18, 2015
DGActivityIndicatorExampleTests Update project to recommented settings (xcode7) Sep 18, 2015
DGActivityIndicatorView Merge pull request #23 from humblehacker/master Oct 24, 2016
DGActivityIndicatorView.gif
DGActivityIndicatorView.podspec 1. Fixed issue with tint color not being set properly; Aug 10, 2016
LICENSE
README.md Correct the spelling of CocoaPods in README Feb 11, 2016

README.md

DGActivityIndicatorView

DGActivityIndicatorView is a great way to make loading spinners in your application look nicer. It contains 32 different indicator view styles. Inspired by: http://connoratherton.com/loaders

alt tag

Requirements

  • Xcode 6 or higher
  • Apple LLVM compiler
  • iOS 8.0 or higher (May work on previous versions, just did not testit. Feel free to edit it).
  • ARC

Demo

Open and run the DGActivityIndicatorExample project in Xcode to see DGActivityIndicatorView in action.

Installation

CocoaPods

Install CocoaPods if it is not installed yet:

$ [sudo] gem install cocoapods
$ pod setup

Add DGActivityIndicatorView to Podfile:

pod 'DGActivityIndicatorView'

Call 'pod install':

pod install

Manual install

All you need to do is drop DGActivityIndicatorView folder into your project and include headers.

Example usage

DGActivityIndicatorView *activityIndicatorView = [[DGActivityIndicatorView alloc] initWithType:DGActivityIndicatorAnimationTypeDoubleBounce tintColor:[UIColor whiteColor] size:20.0f];
activityIndicatorView.frame = CGRectMake(0.0f, 0.0f, 50.0f, 50.0f);
[self.view addSubview:activityIndicatorView];
[activityIndicatorView startAnimating];

TODO

  • Add more different animations

Contact

Danil Gontovnik

License

The MIT License (MIT)

Copyright (c) 2015 Danil Gontovnik

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.