dbi

DBImageView

A simple object to load images asynchronously

Showing:

Popularity

Downloads/wk

0

GitHub Stars

60

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

Alt text

A simple object to load images asynchronously

##Getting Started

Installation

The recommended approach for installating DBImageView is via the CocoaPods package manager, as it provides flexible dependency management and dead simple installation.

Podfile

platform :ios, '6.0'
pod 'DBImageView', '~> 1.0'

Integration

DBImageView has a simple integration:

#import "DBImageView.h"

Add DBImageView:

DBImageView *imageView = [[DBImageView alloc] initWithFrame:(CGRect){ 10, 10, 60, 60 }];

Set the remote image path:

[imageView setImageWithPath:@"remote_image_URL"];

Options

You can set a placeholder:

[imageView setPlaceHolder:[UIImage imageNamed:@"Placeholder"]];

If you use a collection or a table, trigger the load action when you want

- (void) scrollViewWillBeginDragging:(UIScrollView *)scrollView
{
    [DBImageView triggerImageRequests:NO];
}

- (void) scrollViewDidEndDecelerating:(UIScrollView *)scrollView
{
    [DBImageView triggerImageRequests:YES];
}

##iOS Min Required 6.0

##Version 1.3.1

##Created By Daniele Bogo

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100