Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erkanyildiz/eymaterialactivityindicatorview

Material Design style Activity Indicator View for iOS
https://github.com/erkanyildiz/eymaterialactivityindicatorview

activity android indicatorview ios material objective-c

Last synced: about 14 hours ago
JSON representation

Material Design style Activity Indicator View for iOS

Awesome Lists containing this project

README

        

# EYMaterialActivityIndicatorView
Material Design style Activity Indicator View for iOS replicating [circular indeterminate progress indicator](https://material.google.com/components/progress-activity.html#progress-activity-types-of-indicators).

#Usage

Similar to UIActivityIndicatorView:

```
//For default style just specify the center position for the indicator:
EYMaterialActivityIndicatorView* activityIndicatorView = [EYMaterialActivityIndicatorView.alloc initWithCenter:(CGPoint){100,150}];

//Or for custom style specify radius, stroke and color, in addition to center:
EYMaterialActivityIndicatorView* activityIndicatorView = [EYMaterialActivityIndicatorView.alloc initWithCenter:(CGPoint){100,150} radius:40 stroke:10 andColor:UIColor.redColor];

//And add it as usual
[self.view addSubview:activityIndicatorView];
```

#How It Looks

Default style radius is 20.0, stroke width is 4.0 and color is RGB(3,169,244).