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: 12 months 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-16T07:36:51.000Z (about 12 years ago)
- Last Synced: 2025-02-06T06:22:29.813Z (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.