Simple loading animation view to block UI. Easy to use and configurable. You can also use GFLoadingPercentualView to show a loading with percentual status.
To run the example project, clone the repo, and run pod install from the Example directory first.
GFLoadingAnimationView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'GFLoadingAnimationView'GFLoadingAnimationView
#import "GFLoadingAnimationView.h" // show [GFLoadingAnimationView showLoadingView]; // hide [GFLoadingAnimationView hideLoadingView]; GFLoadingPercentualView
#import "GFLoadingPercentualView.h" // show [GFLoadingPercentualView showLoadingView]; // hide [GFLoadingPercentualView hideLoadingView]; GFLoadingAnimationView
// background [GFLoadingAnimationView setCircleSize:100]; [GFLoadingAnimationView setCircleBackgroundColor:[UIColor groupTableViewBackgroundColor]]; // spinner [GFLoadingAnimationView setSpinnerStrokeColor:[UIColor grayColor]]; [GFLoadingAnimationView setSpinnerStrokeWidth:3]; // image [GFLoadingAnimationView setImageSizePerc:0.4]; [GFLoadingAnimationView setImage:[UIImage imageNamed:@"test"]]; GFLoadingPercentualView
// background [GFLoadingAnimationView setCircleSize:100]; [GFLoadingAnimationView setCircleBackgroundColor:[UIColor groupTableViewBackgroundColor]]; // spinner [GFLoadingAnimationView setSpinnerStrokeColor:[UIColor grayColor]]; [GFLoadingAnimationView setSpinnerStrokeWidth:3]; // image [GFLoadingAnimationView setImageSizePerc:0.4]; [GFLoadingAnimationView setImage:[UIImage imageNamed:@"test"]]; // label [GFLoadingPercentualView setLabelFontSize:20]; [GFLoadingPercentualView showLabel:false]; Guido Fanfani, guido.fanfani7@gmail.com
GFLoadingAnimationView is available under the MIT license. See the LICENSE file for more info.

