Skip to content

carabina/GDLoadingIndicator

Repository files navigation

#GDLoadingIndicator Loading indicator with set of animations.

Installation

Simply add class and resource files to your project, or use CocoaPods.

Podfile

platform :ios, '8.0'
use_frameworks!

target 'project_name' do
	pod 'GDLoadingIndicator', '~> 1.0.0'
end

Usage

Alt text

Import GDLoadingIndicator to your project.

#import <GDLoadingIndicator/GDLoadingIndicator.h>
or
#import "GDLoadingIndicator.h"

See exemple project for more details.

Available styles

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
};

Requirements

  • iOS 8.0+

License

GDLoadingIndicator is available under the MIT license. See the LICENSE file for more info.

About

Loading indicator with set of animations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published