Skip to content

fergusding/iOS-Custom-Circle-ActivityIndicatorView

Repository files navigation

iOS-Custom-ActivityIndicatorView

A custom ActivityIndicaotrView used in iOS.

Introduction

FDActivityIndicatorView is a activity indicatorview which shows a circle rotating, it is similar to wechat login activity indicator view. Also it supports to set the size accroding to it's frame and set the color of the circle.

ScreenShot

circle-activityindicatorview

Get started

  1. Down the FDActivityIndicatorView.h and FDActivityIndicatorView.m source file.
  2. Add the two source files to your project.
  3. Import the FDActivityIndicatorView.h file where you want to use it.

Usage

    FDActivityIndicatorView *indicatorView = [[FDActivityIndicatorView alloc] initWithFrame:CGRectMake(50, 250, 200, 200)];
    indicatorView.color = [UIColor redColor];
    [self.view addSubview:indicatorView];

#License MIT

About

A custom ActivityIndicaotrView used in iOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published