Home

Awesome

PVAsyncImageView

A simple NSImageView subclass that let's you download images asynchronously from the web on the Mac with some other useful properties.

Features

How-to-use

  1. Add both .h and .m files of PVAsyncImageView to your project.
  2. Import PVAsyncImageView.h to wherever you want to use it just by #import "PVAsyncImageView.h"
  3. Set the PVAsyncImageView class to your NSImageView in Interface Builder or by code
  4. Download an image (there are many methods to load images, but this is the most completed one) by:
[_imageView downloadImageFromURL:@"mywebsite.com/image.png" withPlaceholderImage:[NSImage imageNamed:@"loading_IMG"] errorImage:[NSImage imageNamed:@"error_IMG"] andDisplaySpinningWheel:YES];

Demo Project

This includes a Demo project that explains how to use PVAsyncImageView easily, with almost no lines of code.

Author

PVAsyncImageView was created by Pedro Vieira.<br> @w1tch_
<a href="mailto:pedrovieiradev@hotmail.com?Subject=PVAsyncImageView">pedrovieiradev@hotmail.com</a>

License

PVAsyncImageView is licensed under the terms of the BSD. Read the LICENSE file for more information.