Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/erkanyildiz/eymaterialactivityindicatorview
- Owner: erkanyildiz
- License: mit
- Created: 2016-08-19T10:24:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-21T10:46:13.000Z (about 8 years ago)
- Last Synced: 2024-12-21T11:09:35.735Z (about 2 months ago)
- Topics: activity, android, indicatorview, ios, material, objective-c
- Language: Objective-C
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).
![]()