Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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`.
latest commit 85ad5ea6a0
@bnickel bnickel authored
..
Failed to load latest commit information.
AFNetworkActivityIndicatorManager.h Allow same library for app and extensions.
AFNetworkActivityIndicatorManager.m Allow same library for app and extensions.
UIActivityIndicatorView+AFNetworking.h Add nullability annotations for UIKit additions
UIActivityIndicatorView+AFNetworking.m Fixed spacing in dealloc methods.
UIAlertView+AFNetworking.h Allow same library for app and extensions.
UIAlertView+AFNetworking.m Allow same library for app and extensions.
UIButton+AFNetworking.h Addressed remaining issues with nullability
UIButton+AFNetworking.m Updating License
UIImage+AFNetworking.h Added License to new files
UIImageView+AFNetworking.h Merge pull request #2771 from chrisgibbs/bugfix/cached-image-request-…
UIImageView+AFNetworking.m Pass the url request back to the success block when images are retrie…
UIKit+AFNetworking.h Minor refactor and cleanup of AFImageWithDataAtScale
UIProgressView+AFNetworking.h Add nullability annotations for UIKit additions
UIProgressView+AFNetworking.m Updating License
UIRefreshControl+AFNetworking.h Add nullability annotations for UIKit additions
UIRefreshControl+AFNetworking.m Fixed spacing in dealloc methods.
UIWebView+AFNetworking.h Add nullability annotations for UIKit additions
UIWebView+AFNetworking.m Updating License
Something went wrong with that request. Please try again.