AFNetworking.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // AFNetworking.h
  2. // Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
  3. //
  4. // Permission is hereby granted, free of charge, to any person obtaining a copy
  5. // of this software and associated documentation files (the "Software"), to deal
  6. // in the Software without restriction, including without limitation the rights
  7. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8. // copies of the Software, and to permit persons to whom the Software is
  9. // furnished to do so, subject to the following conditions:
  10. //
  11. // The above copyright notice and this permission notice shall be included in
  12. // all copies or substantial portions of the Software.
  13. //
  14. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19. // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  20. // THE SOFTWARE.
  21. #import <Foundation/Foundation.h>
  22. //! Project version number for AFNetworking.
  23. FOUNDATION_EXPORT double AFNetworkingVersionNumber;
  24. //! Project version string for AFNetworking.
  25. FOUNDATION_EXPORT const unsigned char AFNetworkingVersionString[];
  26. // In this header, you should import all the public headers of your framework using statements like #import <AFNetworking/PublicHeader.h>
  27. #import <Availability.h>
  28. #import <TargetConditionals.h>
  29. #ifndef _AFNETWORKING_
  30. #define _AFNETWORKING_
  31. #import <AFNetworking/AFURLRequestSerialization.h>
  32. #import <AFNetworking/AFURLResponseSerialization.h>
  33. #import <AFNetworking/AFSecurityPolicy.h>
  34. #import <AFNetworking/AFCompatibilityMacros.h>
  35. #if !TARGET_OS_WATCH
  36. #import <AFNetworking/AFNetworkReachabilityManager.h>
  37. #endif
  38. #import <AFNetworking/AFURLSessionManager.h>
  39. #import <AFNetworking/AFHTTPSessionManager.h>
  40. #if TARGET_OS_IOS || TARGET_OS_TV
  41. #import <AFNetworking/AFAutoPurgingImageCache.h>
  42. #import <AFNetworking/AFImageDownloader.h>
  43. #import <AFNetworking/UIActivityIndicatorView+AFNetworking.h>
  44. #import <AFNetworking/UIButton+AFNetworking.h>
  45. #import <AFNetworking/UIImageView+AFNetworking.h>
  46. #import <AFNetworking/UIProgressView+AFNetworking.h>
  47. #endif
  48. #if TARGET_OS_IOS
  49. #import <AFNetworking/AFNetworkActivityIndicatorManager.h>
  50. #import <AFNetworking/UIRefreshControl+AFNetworking.h>
  51. #import <AFNetworking/WKWebView+AFNetworking.h>
  52. #endif
  53. #endif /* _AFNETWORKING_ */