GitXplorerGitXplorer
d

DACircularProgress

public
2372 stars
342 forks
29 issues

Commits

List of commits on branch master.
Unverified
0bae503080aa2e7f72c417897d0dddddb6c01bdb

Merge pull request #58 from premekptacek/master

ddanielamitay committed 10 years ago
Unverified
5b4b8024e997d51c60c7dbb5bf22b3e07d8b2b75

calling [super didMoveToWindow] in didMoveToWindow

ppremekptacek committed 10 years ago
Unverified
996f41485f628bc44dd3b8a4baa9c79514c4be57

Merge pull request #55 from cuongtv51/master

ddanielamitay committed 10 years ago
Unverified
d6cab9a8ed9580e4706ebdda106b9d71bac407e0

Update readme file

ccuongtv51 committed 10 years ago
Unverified
94eadfd62f18b5d720c7ba041413580f4a3964d3

Update readme file

ccuongtv51 committed 10 years ago
Unverified
2387dac9aaebcceee1bcbfd8e591a6991b48d325

Update image size readme

ccuongtv51 committed 10 years ago

README

The README file for this repository.

DACircularProgress

DACircularProgress is a UIView subclass with circular UIProgressView properties.

It was originally built to be an imitation of Facebook's photo progress indicator.

View the included example project for a demonstration.

Installation

To use DACircularProgress:

  • Copy over the DACircularProgress folder to your project folder.
  • Make sure that your project includes <QuartzCore.framework>.
  • #import "DACircularProgressView.h"

Example Code

self.progressView = [[DACircularProgressView alloc] initWithFrame:CGRectMake(140.0f, 30.0f, 40.0f, 40.0f)];
self.progressView.roundedCorners = YES;
self.progressView.trackTintColor = [UIColor clearColor];
[self.view addSubview:self.progressView];
  • You can also use Interface Builder by adding a UIView element and setting its class to DACircularProgress

Notes

Compatibility

iOS5.0+

Automatic Reference Counting (ARC) support

DACircularProgress was made with ARC enabled by default.

Contact

If you use/enjoy DACircularProgress, let me know!

Credits

DACircularProgress is brought to you by Daniel Amitay and contributors to the project. A special thanks to Cédric Luthi for a significant amount of changes. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by creating new issues.

License

MIT License

Copyright (c) 2013 Daniel Amitay (http://danielamitay.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.