#GDLoadingIndicator Loading indicator with set of animations.
Simply add class and resource files to your project, or use CocoaPods.
platform :ios, '8.0'
use_frameworks!
target 'project_name' do
pod 'GDLoadingIndicator', '~> 1.0.0'
end
Import GDLoadingIndicator to your project.
#import <GDLoadingIndicator/GDLoadingIndicator.h>
or
#import "GDLoadingIndicator.h"
See exemple project for more details.
typedef NS_ENUM(NSUInteger, GDCircleType) {
GDCircleTypeNone = 1,
GDCircleTypeProgress,
GDCircleTypeProgressWithBorder,
GDCircleTypeInfine,
GDCircleTypeInfineWithBorder,
GDCircleTypeBorder
};
typedef NS_ENUM(NSUInteger, GDCircleAnimationType) {
GDCircleAnimationTypeNone = 1,
GDCircleAnimationTypeJogging,
GDCircleAnimationTypeRunning
};
typedef NS_ENUM(NSUInteger, GDFillerAnimationType) {
GDFillerAnimationTypeNone = 1,
GDFillerAnimationTypeStatic,
GDFillerAnimationTypeWavesAmplitude,
GDFillerAnimationTypeWavesForward,
GDFillerAnimationTypeWavesForwardAmplitude
};
- iOS 8.0+
GDLoadingIndicator is available under the MIT license. See the LICENSE file for more info.