Commit Graph

113 Commits

Author SHA1 Message Date
sashaweiss
2cc79f0860 Add nullability specifiers to all 'id responseObject' parameters 2018-12-17 10:20:31 -08: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
Kevin Harwood
d3391e6618 Merge pull request #2837 from AFNetworking/watchOS_support
WatchKit support
2015-08-18 13:02:18 -05:00
Antoine Cœur
a419fc0e96 spelling 2015-08-16 01:04:09 +08:00
Kevin Harwood
d184833fa0 Updated Library to support watchOS 2015-08-03 11:24:17 -05:00
Brian Nickel
85ad5ea6a0 Allow same library for app and extensions.
clang will silence availability errors in classes and methods that are also unavailable to the target.  The following have been made unavailable to app extensions:
- `AFNetworkActivityIndicatorManager` class
- `UIAlertView` category methods
- `AFURLConnectionOperation setShouldExecuteAsBackgroundTaskWithExpirationHandler:`

Benefits of change:
- Fixes CocoaPods support for App Extensions.
- Allows single framework to be used in app.
- Eliminates the need for `AF_APP_EXTENSIONS`.
2015-07-27 10:49:06 -07:00
Kevin Harwood
4cf23fa154 Minor refactor and cleanup of AFImageWithDataAtScale 2015-07-27 10:24:35 -05:00
Paulo Ferreira
a4b05ec744 Added License to new files 2015-07-24 14:16:14 -05:00
Paulo Ferreira
3d4beb37ed Changed to UIImage category with safeImageWithData 2015-07-24 14:16:14 -05:00
Kevin Harwood
cd675b677d Merge pull request #2771 from chrisgibbs/bugfix/cached-image-request-param
Provide URL request to the success block when images are retrieved from cache
2015-07-24 08:50:11 -05:00
Kevin Harwood
5338930ff3 Merge pull request #2813 from diehardest/master
Removing self import
2015-07-24 08:37:47 -05:00
Kevin Harwood
0bb9e9c49d Addressed remaining issues with nullability 2015-06-26 10:19:37 -05:00
Frank Luan
fd34e21251 Add nullability annotations for UIKit additions 2015-06-26 09:43:13 -05:00
diehardest
410a7bb23d Removing self import 2015-06-26 15:38:36 +03:00
Chris Gibbs
5ed3cd2d05 Assert the response parameter is nil when image is returned from cache. Update docs 2015-06-07 11:58:58 -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
Brian Nickel
1accc9869e Fixed spacing in dealloc methods. 2015-05-22 16:59:27 -07:00
Brian Nickel
b6562dabcb Renamed notification observers. 2015-05-22 16:54:48 -07:00
Brian Nickel
c08ff6cdf9 Don't clobber UIRefreshControl dealloc. 2015-05-20 11:27:42 -07:00
Brian Nickel
f1aad4b8ae Fix notification zombie crash on backgrounding. #2739
Added associated activity view animator so notifications can be unsubscribed from without clobbering the default `dealloc`.
2015-05-20 11:14:02 -07:00
Kevin Harwood
850e5e7850 Merge pull request #2684 from AFNetworking/2685_crash_on_AFNetworkingOperationDidStartNotification
AFNetworkingOperationDidStartNotification crash
2015-05-18 11:47:18 -05:00
Antoine Cœur
f870596353 spelling fix 2015-05-18 11:48:09 +08:00
Kevin Harwood
a141d458ad Removed additional observers
Added unit tests to verify issue
2015-05-15 11:05:30 -05:00
huanghf
2344472754 #2684 fix AFNetworkingOperationDidStartNotification crash 2015-05-15 09:36:22 -05:00
Mattt Thompson
583742a539 Updating License 2015-05-02 13:29:20 -07:00
seanoshea
6b95f1112a A very minor typo in the docs for UIImageView+AFNetworking.h 2015-04-15 21:56:58 +01:00
Mattt Thompson
a13a244526 [Issue #2617] Fixing leak for addObserver:...:withBlock: 2015-03-27 09:31:05 -07:00
Mattt Thompson
346d3498db [Issue #2617] Fixing leak for notification observer 2015-03-27 09:00:50 -07:00
dake
2eea6f4a27 fix UIWebView+AFNetworking crash 2015-03-25 21:12:55 +08:00
Serge Hänni
476a1716d7 Added guard to unsupported features of iOS 8 extensions 2015-03-11 17:03:43 +01:00
Mattt Thompson
4fbf7c50dc [Issue #2562] Adding delegate callbacks to loading methods 2015-02-14 10:35:17 -08:00
Mattt Thompson
f6ddbb5bb3 Merge pull request #2457 from totomo/my-proposal
Display all of variable arguments which are specified as otherButtonTitles
2015-01-18 11:32:26 -08: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
weizhou
cc2c547455 fix a typo in comment 2015-01-10 16:36:43 +08:00
Adar Porat
b623a85c36 fix genstrings warning in UIAlertView+AFNetworking
Warning: Key "Dismiss" used with multiple comments "UIAlert View Cancel Button Title" & "UIAlertView Cancel Button Title"
2015-01-02 21:12:35 -05: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
Kenta Tokumoto
73a32c767f Display all of arguments which are specified as otherButtonTitles 2014-11-30 13:02:46 +09:00
Mattt Thompson
9cf3fded9f Merge pull request #2448 from samirGuerdah/FixDocumentation
- Wording
2014-11-26 10:53:23 -05:00
samir guerdah
7501b56253 - Wording 2014-11-25 13:04:20 +01:00
Mattt Thompson
169ef048ca Merge branch 'master' of github.com:AFNetworking/AFNetworking 2014-11-17 06:15:33 -08: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
Elvis Nuñez
e2805f7a7e Refactor state of refresh control using task 2014-11-17 14:42:32 +01:00
Elvis Nuñez
b7329ecc2a React over completed state 2014-11-16 00:57:15 +01: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
9387459831 Adding explicit casts and #pragma ignore to fix warnings about out-of-range enumerated type value assignment 2014-09-03 16:38:55 -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