Mattt Thompson
e9855af89d
Fixing race condition in UIImageView category with cached images. Thanks @iwat (Chaiwat S.)
2011-10-11 17:07:27 -05:00
Mattt Thompson
358ecb568c
Merge branch 'experimental-0.7' into experimental-mac
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.m
AFNetworking/AFImageRequestOperation.h
AFNetworking/AFImageRequestOperation.m
AFNetworking/AFNetworkActivityIndicatorManager.m
2011-10-11 10:01:44 -05:00
Mattt Thompson
80a0c65608
Merge branch 'master' into experimental-mac
...
Conflicts:
AFNetworking/AFNetworkActivityIndicatorManager.m
iOS Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
2011-10-11 09:58:00 -05:00
Mattt Thompson
b7724922c4
Refactoring image request operation
2011-10-10 13:06:12 -05:00
Mattt Thompson
263e2f3d5c
[Issue #59 ] Removing unnecessary dispatch in UIImageView category
2011-10-10 10:04:57 -05:00
Mattt Thompson
c2be31d4fa
First implementation of protocol for AFHTTPClient to register classes to automatically determine the appropriate operation to create
...
Wrapping AFURLConnectionOperation -setCompletionBlock: with blockSelf release pattern to avoid retain cycle
2011-10-05 15:44:51 -05:00
Mattt Thompson
561df45eb7
Initial working implementation of new candidate class structure
2011-10-04 00:13:12 -05:00
Mattt Thompson
421032fe90
Removing logic to set UIImageView image cache name based on placeholder image dimensions
...
Renaming constant used to associate category objects in UIImageView category
2011-09-26 11:03:33 -05:00
Mattt Thompson
e1f7528a09
Removing strangely intrusive logic to resize an image to placeholder image size
2011-09-26 08:48:04 -05:00
Mattt Thompson
efdaedc541
Adding Mac example project
...
Renaming iOS example project
Adding AFNetworking to Mac project using preprocessor macros to resolve UIKit dependencies, and setting compiler flags accordingly.
2011-09-23 12:19:40 -05:00
Mattt Thompson
42da37a5a3
Namespacing private methods in UIImageView category
2011-09-22 11:42:48 -05:00
Mattt Thompson
eebc763f7f
Adding documentation to UIImageView category
...
Changing API for setImageWithURLRequest:placeholderImage:success to setImageWithURLRequest:placeholderImage:success:failure
2011-09-22 11:30:13 -05:00
Mattt Thompson
2a8cce88a5
Changing AFImageCache APIs to use URLs rather than NSURLRequests
...
Completing documentation for AFImageCache
2011-09-21 23:46:00 -05:00
Mattt Thompson
e7aba7d47a
Making most explicit UIImageView image setting method take NSURLRequest, to allow for overriding cache policy, timeout interval, and other request properties
2011-09-21 17:13:20 -05:00
Mattt Thompson
3b81cd32a7
Fixing optimization to not re-initiate duplicated calls to a UIImageView, by adding missing check to see if the last operation was cancelled
2011-09-21 15:50:22 -05:00
Mattt Thompson
f422cafe14
Removing UIImage category in favor of static function to resize images in UIImageView category implementation
2011-09-21 14:32:30 -05:00
Mattt Thompson
50014afa22
Refactoring image request API to remove unnecessary configuration, and focus the design goals of those classes
2011-09-16 22:40:52 -05:00
Mattt Thompson
76d9b2bfc8
Adding -cancelImageRequestOperation to UIImageView category
...
Improving performance of UIImageView -setImageWithURL:... by cancelling running operation if new image url request is different than passed url request
2011-09-15 14:29:29 -05:00
Peter Steinberger
1ec54e2595
add BOOL if cache was used to load image
...
This is useful for animation - if function directly returns, there's no need to animate the new image
2011-09-12 17:36:20 +02:00
Peter Steinberger
908d77aaaf
execute custom block _before_ setting image
...
This is particularly useful if you want to animate the image change, e.g. with a core animation block - that's not possible after image is changed.
2011-09-12 17:20:50 +02:00
Peter Steinberger
bd6fc88c01
allow imageRequestOperation to be cancelled
2011-09-12 17:19:57 +02:00
Mattt Thompson
b734a64add
Execute block passed into UIImageView request if getting an image out of the cache
2011-08-14 19:48:31 -05:00
Mattt Thompson
1dad3cb336
Adding method, adding a callback for when image was loaded. This fixes a shortcoming where images loaded into UITableViewCells wouldn't show up until being recycled, needing to layout its subviews
2011-08-05 10:41:20 -05:00
Mattt Thompson
9a2b90c698
Adding explicit cast for associated image request operation object in UIImageView category
2011-08-03 13:02:47 -05:00
Mattt Thompson
d4e34f76bf
Adding #imports for Foundation and obj-c runtime
2011-08-03 13:00:40 -05:00
Mattt Thompson
4ac2f407d7
Removing code to try and be clever about cancelling image requests or not for a instances of the same image being requested
...
Adding HTTP pipelining to image requests
2011-08-03 11:32:22 -05:00
Mattt Thompson
f169a93f58
Moving AFNetworking classes into correct directory
2011-07-27 15:20:37 -05:00