Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsif/ditimageview
UIView subclass that allows you to assign an image url property. Supports caching, visible progress and default image
https://github.com/tsif/ditimageview
Last synced: 21 days ago
JSON representation
UIView subclass that allows you to assign an image url property. Supports caching, visible progress and default image
- Host: GitHub
- URL: https://github.com/tsif/ditimageview
- Owner: tsif
- License: mit
- Created: 2014-06-16T07:16:53.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-16T07:36:51.000Z (over 10 years ago)
- Last Synced: 2023-04-05T14:49:16.449Z (over 1 year ago)
- Language: Objective-C
- Size: 168 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DITImageView
============UIView subclass that allows you to assign an image url property. Supports caching, visible progress and default image
Usage:
```objc
DITImageView *imageView = [[DITImageView alloc] initWithFrame:(CGRect){{0.0f, 0.0f}, {150.0f, 150.0f}}];
imageView.customProgress = YES; // show image download progress with a progress bar
imageView.url = @"http://i.imgur.com/1YQ4cy3.jpg";
```The same as above applies if you have a DITImageView as an outlet in you storyboard or xib.