TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jul 2015 |
Maintained by Jack.
XHAmazingLoading indicators or load view based on CAReplicatorLayer class and CoreAnimation
CocosPods is the recommended method to install XHAmazingLoading, just add the following line to Podfile
pod 'XHAmazingLoading'
and run pod install
, then you're all done!
#import "XHAmazingLoadingView.h"
XHAmazingLoadingView *amazingLoadingView = [[XHAmazingLoadingView alloc] initWithType:XHAmazingLoadingAnimationTypeMusic];
amazingLoadingView.loadingTintColor = [UIColor redColor];
amazingLoadingView.backgroundTintColor = [UIColor whiteColor];
amazingLoadingView.frame = self.view.bounds;
[self.view addSubview:amazingLoadingView];
[amazingLoadingView startAnimating];
loading data after that call stopAnimating method.
XHAmazingLoading is available under the MIT license, see the LICENSE file for more information.