Commit Graph

13 Commits

Author SHA1 Message Date
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
Mattt Thompson
583742a539 Updating License 2015-05-02 13:29:20 -07:00
Serge Hänni
476a1716d7 Added guard to unsupported features of iOS 8 extensions 2015-03-11 17:03:43 +01:00
Mattt Thompson
011dc783e9 Updating copyright year 2015-01-18 08:59:34 -08:00
Mattt Thompson
290fe60fde [Issue #2346] Revert commits related to __has_feature(attribute_availability_app_extension) 2014-10-07 13:53:40 -07:00
Mattt Thompson
6be6cd25c7 [Issue #2346] Fix preprocessor directive to pass if __has_feature is unavailable 2014-10-07 10:50:38 -07:00
Mattt Thompson
b7a86f538c [Issue #2346] Adding preprocessor directives around UIApplication network activity indicator 2014-10-07 10:48:47 -07:00
Mattt Thompson
121466e165 Bumping copyright year 2014-04-15 14:24:30 -07:00
Mattt Thompson
50fc524037 [Issue #1734] Making notification constant naming consistent with terminology of NSURLSession 2014-01-16 20:50:45 -08:00
Mattt Thompson
e344585e59 [Issue #1601] Fixing availability macros for network activity indicator 2013-12-02 23:46:42 -08:00
Mattt Thompson
0ef5102a3e [Issue #1404] Adding missing #ifdef for iOS 7 compatibility 2013-10-01 07:17:35 -07:00
Mattt Thompson
eeccdc7717 Minor refactoring for AFNetworkActivityIndicatorManager 2013-09-27 08:53:47 -07:00
Mattt Thompson
9a40c0dc0f Merge branch 2.0 into master 2013-09-25 16:31:49 -07:00