Commit Graph

33 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
Cédric Luthi
16c09fae46 Remove all #pragma clang diagnostic ignored "-Wgnu" 2016-04-08 23:46:10 +02:00
Kevin Harwood
aba212c842 Merge pull request #3332 from duanhong169/master
Fixed issue where UIButton image downloading called wrong cancel method
2016-03-14 09:06:40 -05: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
duanhong
e457fc980d fix: wrong methods called. 2016-02-16 10:05:33 +08:00
Kevin Harwood
5d73b00640 Bumping copyright to 2016 2016-01-05 09:22:42 -06:00
eofs
4ead780eee Button image changed instead of background image 2015-12-14 15:11:57 +02: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
f4179e28a4 Migrating to _Nullable 2015-10-02 14:09:47 -05: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
Mattt Thompson
583742a539 Updating License 2015-05-02 13:29:20 -07:00
Mattt Thompson
ce5cf4b3d7 Merge pull request #2514 from Maxim-38RUS-Zabelin/master
UIButton+AFNetworking. The methods that asynchronously download images have started to properly report on the failures.
2015-01-18 09:05:17 -08:00
Mattt Thompson
011dc783e9 Updating copyright year 2015-01-18 08:59:34 -08:00
Maxim Zabelin
8644f90b82 UIButton+AFNetworking. The methods that asynchronously download images have started to properly report on the failures. 2015-01-13 18:21:41 +06:00
Fernanda G. Geraissate
87a436bca7 Update UIButton+AFNetworking.m
Bug fix: background image was not being cached
2014-12-11 17:34:06 -02:00
Mattt Thompson
da67eae7f5 [Issue #2381] Using static char declaration pointers for associated object keys in UIButton category 2014-11-17 06:15:25 -08:00
johnbushnell
fcd96d38e0 Update UIButton+AFNetworking.m
Added call to sharedImageCache to cache the responseObject.  Previously the method would be checking for a cached value, but would often not find a previous image because it was not being cached in this method.
2014-09-30 12:28:55 -07:00
John C. Daub
c81ab7f8f8 Resolve compiler warning about "Values of type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead" 2014-09-04 08:32:46 -07:00
Mattt Thompson
306644d9f2 Explicitly casting UIControlState to NSUInteger in format argument 2014-09-03 13:24:24 -07: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
Mattt Thompson
121466e165 Bumping copyright year 2014-04-15 14:24:30 -07:00
Mattt Thompson
481400d36d Using @selector instead of keys for associated objects 2014-02-10 16:50:57 -08:00
Luka Bratos
c9c2922f25 Removed two unused empty else clauses. 2013-11-18 22:58:31 +00:00
Taichiro Yoshida
e65c83bd36 fix to setBackgroundImageForState works correctly. It causes response serializer is set to af_imageRequestOperation instead of af_backgroundImageRequestOperation. 2013-10-10 16:55:33 +09:00
Mattt Thompson
a25b1d30dd [Issue #1448] Adding missing image serializer for background request operation 2013-10-07 15:45:29 -07:00
Sam Grossberg
4cf44857a3 Add image response serializer to UIButton+AFNetworking.
Without this fix, the responseObject is nil and the image does not get updated.
2013-10-04 16:24:41 -07:00
Mattt Thompson
3bdfefa83b Adding documentation to UIButton category
Switching backing of UIButton category to AFURLConnectionOperation
2013-09-27 08:52:37 -07:00
Mattt Thompson
09658b352a Enabling and fixing extensive compiler warnings 2013-09-26 07:11:22 -07:00
Mattt Thompson
9a40c0dc0f Merge branch 2.0 into master 2013-09-25 16:31:49 -07:00