Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashfurrow/afactivityindicatorview
A ground-up, home-made implementation of UIActivityIndicatorView
https://github.com/ashfurrow/afactivityindicatorview
Last synced: 2 months ago
JSON representation
A ground-up, home-made implementation of UIActivityIndicatorView
- Host: GitHub
- URL: https://github.com/ashfurrow/afactivityindicatorview
- Owner: ashfurrow
- Created: 2012-10-08T01:26:54.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-10-08T01:33:50.000Z (about 12 years ago)
- Last Synced: 2024-05-09T20:02:01.470Z (8 months ago)
- Language: Objective-C
- Size: 101 KB
- Stars: 25
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`AFActivityIndicatorView`
=======================A ground-up, home-made implementation of `UIActivityIndicatorView`.
# How to use
Exactly like `UIActivityIndicatorView`.
[Link](http://stackoverflow.com/questions/6956432/adding-quartzcore-to-xcode-4-for-ios) with `QuartzCore`
AFActivityIndicatorView *loader = [[AFActivityIndicatorView alloc] initWithFrame:CGRectMake(60, 100, 50, 50)];
loader.activityIndicatorViewStyle = AFActivityIndicatorViewStyleWhite;
[loader startAnimating];
[self.view addSubview:loader];# Really?
Yes.
# Why?
Because I felt like it.
I tried to spruce it up a little bit, and in the process I discovered that the current spinner design is actually really good, and shouldn't be meddled with.
# So why publish the code?
Because now you can customize colours, etc.