Skip to content

Commit

Permalink
Updated to version 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed May 23, 2016
1 parent 7968e03 commit 4403d78
Show file tree
Hide file tree
Showing 18 changed files with 208 additions and 356 deletions.
6 changes: 3 additions & 3 deletions AsyncImageView.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "AsyncImageView"
s.version = "1.5.1"
s.version = "1.6"
s.summary = "AsyncImageView is an extension of UIImageView for loading and displaying images asynchronously on iOS so that they do not lock up the UI."

s.description = "AsyncImageView includes both a simple category on UIImageView for loading and displaying images asynchronously on iOS so that they do not lock up the UI, and a UIImageView subclass for more advanced features. AsyncImageView works with URLs so it can be used with either local or remote files.
Expand All @@ -12,9 +12,9 @@ Pod::Spec.new do |s|
s.homepage = "http://charcoaldesign.co.uk/source/cocoa#asyncimageview"
s.license = { :type => 'zlib', :file => 'LICENCE.md' }
s.author = { "Nick Lockwood" => "[email protected]" }
s.source = { :git => "https://github.com/nicklockwood/AsyncImageView.git", :tag => "1.5.1" }
s.source = { :git => "https://github.com/nicklockwood/AsyncImageView.git", :tag => "1.6" }

s.platform = :ios, '4.3'
s.platform = :ios, '7.0'
s.source_files = 'AsyncImageView'
s.requires_arc = true
end
12 changes: 11 additions & 1 deletion AsyncImageView/AsyncImageView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// AsyncImageView.h
//
// Version 1.5.1
// Version 1.6
//
// Created by Nick Lockwood on 03/04/2011.
// Copyright (c) 2011 Charcoal Design
Expand Down Expand Up @@ -62,7 +62,17 @@ extern NSString *const AsyncImageErrorKey;
- (void)cancelLoadingURL:(NSURL *)URL;
- (void)cancelLoadingImagesForTarget:(id)target action:(SEL)action;
- (void)cancelLoadingImagesForTarget:(id)target;

/**
* Returns the most recent image URL assigned to the target for the given action.
* This is not necessarily the next image that will be assigned.
*/
- (NSURL *)URLForTarget:(id)target action:(SEL)action;

/**
* Returns the most recent image URL assigned to the target.
* This is not necessarily the next image that will be assigned.
*/
- (NSURL *)URLForTarget:(id)target;

@end
Expand Down
Loading

0 comments on commit 4403d78

Please sign in to comment.