Commit Graph

32 Commits

Author SHA1 Message Date
WELCommand
555385d2b8 Fix associated object bug in UIKit extensions (#3872) 2020-01-04 19:34:04 -05:00
svoit
1f70ba85bb Code cleaning 2018-04-10 23:23:46 +02:00
aduflo
f0b1149731 added test to cover image download with malformed url 2018-01-12 09:42:34 -05:00
Adam Duflo
0b35a643c6
Prevent stuck state for bad urlRequest 2018-01-10 16:17:52 -05:00
Cédric Luthi
16c09fae46 Remove all #pragma clang diagnostic ignored "-Wgnu" 2016-04-08 23:46:10 +02:00
Draveness
c27b46c87d Add leading whitespace to urls 2016-03-14 10:17:27 +08:00
Draveness
d0b1db20d8 Add whitespace between url and ')' to prevent Xcode misunderstanding 2016-03-14 10:12:20 +08:00
Kevin Harwood
5d73b00640 Bumping copyright to 2016 2016-01-05 09:22:42 -06:00
Kevin Harwood
43d4847e39 Fixed race condition with image downloader when starting/cancelling/starting the same request
Alternate Solution

See https://github.com/Alamofire/AlamofireImage/issues/55 for details
2015-12-11 10:36:54 -06:00
Kevin Harwood
848a1905f5 Fixed crash that occurred if you passed a nil URL to the image view
Fix for #3145
2015-11-10 08:24:49 -06:00
Kevin Harwood
3697462102 Added documentation 2015-10-02 14:09:47 -05:00
Kevin Harwood
01f6aed22a - Removed support for NSURLConnection based API's
- Simplified example project to include all targets
- Added support for tvOS
2015-10-02 14:09:47 -05:00
Kevin Harwood
1bfb8495a4 - Marked Response as nullable in UIKit categories.
- Changed UIButton category to behave like the UIKit category
- Improved UIButton category documentation
2015-10-01 08:47:17 -05:00
Chris Gibbs
50553c1756 Pass the url request back to the success block when images are retrieved from cache 2015-06-05 08:31:38 -05:00
Mattt Thompson
583742a539 Updating License 2015-05-02 13:29:20 -07:00
Mattt Thompson
011dc783e9 Updating copyright year 2015-01-18 08:59:34 -08:00
Mattt Thompson
6507d59be6 [Issue #2187][Issue #2245][Issue #2255] Adding image cache and response serializer properties to UIButton category, as well as cancelling image request operations correctly on a per-state basis
Changing signature of success blocks in UIButton category to be consistent with those of UIImageView category
2014-09-03 11:57:40 -07:00
Sunny
942a9b52a8 failure call back check uiImageView operation request url
the [operation.request URL] always equal urlRequest  . failure call
back block check uiImageView requestOperation request url
2014-05-16 12:28:14 +08:00
Alexander Crettenand
b30ecf398e Fixes #2020 - Race Condition in UIImageView+AFNetworking when called twice with the same URL 2014-04-22 14:48:47 -04:00
Mattt Thompson
4a3772551b [Issue #2003] Only nil out image view request operation if callback matches current request operation 2014-04-16 16:26:43 -07:00
Mattt Thompson
121466e165 Bumping copyright year 2014-04-15 14:24:30 -07:00
Teun van Run
8d9d68cc0f [Issue #1977] nil-ing out request image view operation after completion
Signed-off-by: Mattt Thompson <m@mattt.me>
2014-04-15 12:00:54 -07:00
Mattt Thompson
348a633d38 [Issue #1920] Comparing request against current image view operation request 2014-03-25 08:24:30 -07:00
Mattt Thompson
481400d36d Using @selector instead of keys for associated objects 2014-02-10 16:50:57 -08:00
Alejandro Martinez
735a1829b0 Set the image placeholder only if isn't nil 2014-01-22 17:44:00 +01:00
Mattt Thompson
421cf89227 Adding AFImageCache protocol, to allow for custom image caches to be specified for UIImageView 2013-12-03 01:38:16 -08:00
Luka Bratos
e8fd074de2 Removed empty, unused else clause. 2013-11-18 10:38:29 +00:00
Marcelo Fabri
4c1bccd3f2 Fixing behavior if response is nil
Testing without internet connection, `operation.response` is `nil` and the `failure` block is not called. We can get the URL from the `operation.request` instead of `operation.response` (as done in the `success` block).
2013-10-16 11:59:51 -03:00
Mattt Thompson
4945255138 Updating documentation for UIImageView category 2013-09-27 08:53:20 -07:00
Mattt Thompson
09658b352a Enabling and fixing extensive compiler warnings 2013-09-26 07:11:22 -07:00
Mattt Thompson
9e5dd5ee8a Adding __unused declarations to fix warnings 2013-09-26 06:25:58 -07:00
Mattt Thompson
9a40c0dc0f Merge branch 2.0 into master 2013-09-25 16:31:49 -07:00