{"id":13463451,"url":"https://github.com/kevinrenskers/SDWebImage-ProgressView","last_synced_at":"2025-03-25T06:32:03.356Z","repository":{"id":8843703,"uuid":"10549479","full_name":"kevinrenskers/SDWebImage-ProgressView","owner":"kevinrenskers","description":"Category on UIImageView, adding a progress view while images are downloaded using SDWebImage.","archived":false,"fork":false,"pushed_at":"2021-07-19T20:21:02.000Z","size":13,"stargazers_count":140,"open_issues_count":0,"forks_count":24,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-17T22:11:52.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinrenskers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-07T12:34:10.000Z","updated_at":"2024-09-20T21:00:24.000Z","dependencies_parsed_at":"2022-08-28T10:50:39.646Z","dependency_job_id":null,"html_url":"https://github.com/kevinrenskers/SDWebImage-ProgressView","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinrenskers%2FSDWebImage-ProgressView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinrenskers%2FSDWebImage-ProgressView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinrenskers%2FSDWebImage-ProgressView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinrenskers%2FSDWebImage-ProgressView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinrenskers","download_url":"https://codeload.github.com/kevinrenskers/SDWebImage-ProgressView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414364,"owners_count":20611359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T13:00:53.738Z","updated_at":"2025-03-25T06:32:03.084Z","avatar_url":"https://github.com/kevinrenskers.png","language":"Objective-C","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# SDWebImage-ProgressView\nCategory on UIImageView, adding a progress view while images are downloaded using SDWebImage (3.7.0 and up).  \n[Example on Youtube](http://www.youtube.com/watch?v=qfZrOYYLOPc)\n\n\n## Installation\nUse [Cocoapods](http://cocoapods.org):\n\n```\npod 'SDWebImage-ProgressView'\n```\n\n## Usage\nAll of SDWebImage's UIView+WebCache methods gained an extra parameter:\n\n```\n- (void)sd_setImageWithURL:(NSURL *)url usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;\n- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock usingProgressView:(UIProgressView *)progressView;\n```\n\nUse `nil` for the `progressView` parameter to use the system default `UIProgressView`, or provide your own progress view (or subclass thereof) if you want custom styling and tint colors.\n\nIf you're using the `sd_cancelCurrentImageLoad` method, you'll also have to call `removeProgressView` or you'll end up with lingering progress views.\n\n```\n- (void)prepareForReuse {\n    [super prepareForReuse];\n    [self.imageView sd_cancelCurrentImageLoad];\n    [self.imageView removeProgressView];\n}\n```\n\n## Thanks\nThe idea for this project came from [UIActivityIndicator-for-SDWebImage](https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage). A big thank you goes to Giacomo Saccardo.\n\n\n## License\nSDWebImage-ProgressView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinrenskers%2FSDWebImage-ProgressView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinrenskers%2FSDWebImage-ProgressView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinrenskers%2FSDWebImage-ProgressView/lists"}