![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/master/Resources/AlamofireLogo.png)
[![Swift](https://img.shields.io/badge/Swift-5.1_5.2_5.3_5.4-orange?style=flat-square)](https://img.shields.io/badge/Swift-5.1_5.2_5.3_5.4-Orange?style=flat-square)
[![Platforms](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS_watchOS_Linux_Windows-yellowgreen?style=flat-square)](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS_watchOS_Linux_Windows-Green?style=flat-square)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg?style=flat-square)](https://img.shields.io/cocoapods/v/Alamofire.svg)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat-square)](https://github.com/Carthage/Carthage)
[![Swift Package Manager](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat-square)](https://twitter.com/AlamofireSF)
[![Swift Forums](https://img.shields.io/badge/Swift_Forums-Alamofire-orange?style=flat-square)](https://forums.swift.org/c/related-projects/alamofire/37)
Alamofire is an HTTP networking library written in Swift.
- [Features](#features)
- [Component Libraries](#component-libraries)
- [Requirements](#requirements)
- [Migration Guides](#migration-guides)
- [Communication](#communication)
- [Installation](#installation)
- [Usage](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#using-alamofire)
- [**Introduction -**](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#introduction) [Making Requests](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#making-requests), [Response Handling](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#response-handling), [Response Validation](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#response-validation), [Response Caching](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#response-caching)
- **HTTP -** [HTTP Methods](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#http-methods), [Parameters and Parameter Encoder](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md##request-parameters-and-parameter-encoders), [HTTP Headers](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#http-headers), [Authentication](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#authentication)
- **Large Data -** [Downloading Data to a File](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#downloading-data-to-a-file), [Uploading Data to a Server](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#uploading-data-to-a-server)
- **Tools -** [Statistical Metrics](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#statistical-metrics), [cURL Command Output](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Usage.md#curl-command-output)
- [Advanced Usage](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md)
- **URL Session -** [Session Manager](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#session), [Session Delegate](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#sessiondelegate), [Request](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#request)
- **Routing -** [Routing Requests](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#routing-requests), [Adapting and Retrying Requests](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#adapting-and-retrying-requests-with-requestinterceptor)
- **Model Objects -** [Custom Response Handlers](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#customizing-response-handlers)
- **Connection -** [Security](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#security), [Network Reachability](https://github.com/Alamofire/Alamofire/blob/master/Documentation/AdvancedUsage.md#network-reachability)
- [Open Radars](#open-radars)
- [FAQ](#faq)
- [Credits](#credits)
- [Donations](#donations)
- [License](#license)
## Features
- [x] Chainable Request / Response Methods
- [x] Combine Support
- [x] URL / JSON Parameter Encoding
- [x] Upload File / Data / Stream / MultipartFormData
- [x] Download File using Request or Resume Data
- [x] Authentication with `URLCredential`
- [x] HTTP Response Validation
- [x] Upload and Download Progress Closures with Progress
- [x] cURL Command Output
- [x] Dynamically Adapt and Retry Requests
- [x] TLS Certificate and Public Key Pinning
- [x] Network Reachability
- [x] Comprehensive Unit and Integration Test Coverage
- [x] [Complete Documentation](https://alamofire.github.io/Alamofire)
## Component Libraries
In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
- [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache, and a priority-based image downloading system.
- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire.
## Requirements
| Platform | Minimum Swift Version | Installation | Status |
| --- | --- | --- | --- |
| iOS 10.0+ / macOS 10.12+ / tvOS 10.0+ / watchOS 3.0+ | 5.1 | [CocoaPods](#cocoapods), [Carthage](#carthage), [Swift Package Manager](#swift-package-manager), [Manual](#manually) | Fully Tested |
| Linux | Latest Only | [Swift Package Manager](#swift-package-manager) | Building But Unsupported |
| Windows | Latest Only | [Swift Package Manager](#swift-package-manager) | Building But Unsupported |
#### Known Issues on Linux and Windows
Alamofire builds on Linux and Windows but there are missing features and many issues in the underlying `swift-corelibs-foundation` that prevent full functionality and may cause crashes. These include:
- `ServerTrustManager` and associated certificate functionality is unavailable, so there is no certificate pinning and no client certificate support.
- Various methods of HTTP authentication may crash, including HTTP Basic and HTTP Digest. Crashes may occur if responses contain server challenges.
- Cache control through `CachedResponseHandler` and associated APIs is unavailable, as the underlying delegate methods aren't called.
- `URLSessionTaskMetrics` are never gathered.
Due to these issues, Alamofire is unsupported on Linux and Windows. Please report any crashes to the [Swift bug reporter](https://bugs.swift.org).
## Migration Guides
- [Alamofire 5.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%205.0%20Migration%20Guide.md)
- [Alamofire 4.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md)
- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
## Communication
- If you
没有合适的资源?快使用搜索试试~ 我知道了~
Swift-手机设置飞行模型App回到前台是才弹出提示语
共225个文件
swift:80个
h:17个
m:16个
需积分: 1 0 下载量 116 浏览量
2022-09-24
19:58:36
上传
评论
收藏 582KB ZIP 举报
温馨提示
Swift-手机设置飞行模型App回到前台是才弹出提示语
资源详情
资源评论
资源推荐
收起资源包目录
Swift-手机设置飞行模型App回到前台是才弹出提示语 (225个子文件)
0d615a2412ef68bd21674af036c55ca3c995a6 153B
1034ed0068a031a9daee8cf768b8598ca4cf14 118B
21b9bb1a35f5de270a41afa01305478221ae32 253B
3257a7d00cc51c19d02d81f119c077049b2d74 249B
386387f266d1ccf6459cb4400cbeed9e600bd3 58B
48899375d6a3bf9eca4112a34d8017bc14ae5a 131B
508329cd48242241b8583a2a4135be19a7975a 114B
5c1c4280c2bd849cc7cb98bdb954becd44ca2b 3KB
5d69dba1c41e974f99ba962e0236ff89fb53e7 39KB
5e9329f3767a7c1dd66294b8025bf81dee7d2c 781B
5ea707fa02e101d7fecd628c06ba0e38b66fa5 122B
6176cde812298a59677ebd9e6ef4d9fb9ca33a 205B
67aeb311a2232d32af22ad381071d64e5f461e 590B
6a08c2cd55f1ac178618ccc8f84bd0f0ef1476 364B
6bd324c26d854187559f27f8194c8afd1795ac 58B
714c4a9ec0ddb7f4a80179602c953e671cb66b 96B
7e4ad8ae9fa2e71b0e74acae6c4057768a2b9a 116B
7f5ff3a1a2932866150e68950c3f5d36bd4cdd 119B
82b52fc1cea66f055b851dea6f5821a8917282 246B
8789700816459c1e1480e0b34781d9fb78a1ca 105B
9119b32a564e275f53120c942ecf9d75214b53 86B
9434a6254f0e9651f402737811be6634a03e9c 117B
9535d1d1dd3247bcfaad90dac9200d3c88b77b 140B
9a4208174846971cd5a193fa79346f355073f8 97B
9d18d9afdbb632b5baf450c966f30d5e78e0c0 140B
9df098625f128382071ae9707970fe8a086464 95B
a553e4c7ed3909688918c0f869e3e996856513 151B
a763858ecdbea5c897a9fd8fa2225d7223d2ad 749B
aef374682ca7f5b16e51a953b3915d5da036a5 123B
c00596a7fca3f3d4bdd64053b69d86745f9e10 66B
c19cc17a1d6452956495c8f392c3673f08a9eb 69B
c9689ca62229261e28684ae4839760a1527665 119B
COMMIT_EDITMSG 15B
config 137B
d77164ac2ea427d660410256d5d496e9483515 941B
d9b549124695030f9e377446e547f3fd5dc079 243B
de8039d81dd49f7e3e32fd426e90ca691c03a0 193B
description 73B
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
ee8f9f49389ba58d22df8e18589600866a8a16 366B
exclude 40B
f8b4583a1af3a53d55ec726a5ed0edbd699601 97B
fe85f8d6cb2c951756d0271aa3fc0ca4cca1b5 124B
JGProgressHUD.h 13KB
JGProgressHUDIndicatorView.h 2KB
JGProgressHUD-Defines.h 2KB
JGProgressHUDAnimation.h 1KB
JGProgressHUDRingIndicatorView.h 1KB
JGProgressHUDShadow.h 1KB
JGProgressHUDPieIndicatorView.h 1KB
JGProgressHUDFadeZoomAnimation.h 1KB
JGProgressHUD-umbrella.h 837B
JGProgressHUDImageIndicatorView.h 773B
JGProgressHUDFadeAnimation.h 747B
JGProgressHUDIndeterminateIndicatorView.h 680B
JGProgressHUDSuccessIndicatorView.h 590B
JGProgressHUDErrorIndicatorView.h 582B
Pods-SwiftDemol-umbrella.h 322B
Alamofire-umbrella.h 310B
SnapKit-umbrella.h 306B
HEAD 162B
HEAD 21B
index 2KB
example.jpg 43KB
Contents.json 2KB
Contents.json 305B
Contents.json 123B
Contents.json 63B
LICENSE 1KB
LICENSE 1KB
Podfile.lock 463B
Manifest.lock 463B
JGProgressHUD.m 39KB
JGProgressHUDRingIndicatorView.m 6KB
JGProgressHUDPieIndicatorView.m 4KB
JGProgressHUDFadeZoomAnimation.m 3KB
JGProgressHUDIndicatorView.m 2KB
JGProgressHUDIndeterminateIndicatorView.m 2KB
JGProgressHUDErrorIndicatorView.m 1KB
JGProgressHUDSuccessIndicatorView.m 1KB
JGProgressHUDFadeAnimation.m 1KB
JGProgressHUDImageIndicatorView.m 1KB
JGProgressHUDAnimation.m 771B
JGProgressHUDShadow.m 740B
Pods-SwiftDemol-dummy.m 134B
JGProgressHUD-dummy.m 130B
Alamofire-dummy.m 122B
SnapKit-dummy.m 118B
main 162B
main 41B
Pods-SwiftDemol-acknowledgements.markdown 3KB
README.md 15KB
README.md 6KB
README.md 3KB
Pods-SwiftDemol.modulemap 120B
JGProgressHUD.modulemap 116B
Alamofire.modulemap 108B
共 225 条
- 1
- 2
- 3
冯汉栩
- 粉丝: 281
- 资源: 490
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现 powell算法 用matlab实现,使用方法内附详细说明.rar
- 基于matlab的手写字体识别程序,并对结果进行保存.rar
- 基于c语言指纹识别demo代码 包括了指纹图像方向图计算、频率计算、gabor滤波器增强,细化,特征点提取,特征点匹配.rar
- 基于c++NSGA-2思想的多目标优化程序,采用进化算法处理多目标实值优化问题.rar
- Linux系统中常用权限管理命令
- Coello Coello等人提出了MOPSO 该程序基于matlab实现针对测试函数matlab程序
- Linux系统中常用权限管理命令
- AIR-AP1815-K9-ME-8-5-182-0.tar For Cisco AP1815
- 实验七.zip
- ESP8266刷固件软件flash-download-tools-v3.6.5,AT固件,机智云固件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0