更多整理资料尽在👉一平米小站
| 网络请求 | 主题 |
|---|---|
| Alamofire | Alamofire是AFNetworking的作者mattt新写的网络请求的swift库。Alamofire 最佳实践 |
| Moya | 对Alamofire的封装,使用枚举将网络层实现细节与页面逻辑代码分离,方便单元测试,支持stub测试,配合RxSwift食用更佳,博客教程 |
| SwiftRouter | A URL Router for iOS, written in Swift 2.2 |
| AlamofireObjectMapper.swift | 将Alamofire JSON响应数据 转为swift对象。 |
| RxAlamofire.swift | 为Alamofire提供函数响应式(FRP)调用接口,以优雅的方式使用Alamofire进行网络请求。 |
| socket.io-client-swift | WebSockect 客户端类库。开放的通讯协议,有利于构建强大地跨平台应用。 |
| Transporter | swift, 短小、精悍、易用的多文件(并发或顺序)上传和下载传输库。还支持后台运行、传输进程跟踪、暂停/续传/取消/重试控制等功能。 |
| Just | 小而美的 HTTP 类。功能简单、直接、完整且健壮性高-- swift。 |
| Future | 基于微框架设计思想的异步执行及结果响应类,代码即简单又干净-- swift。 |
| HFDownLoad | iOS开发网络篇之文件下载、大文件下载、断点下载:NSData方式、NSURLConnection方式、NSURLSession下载方式 下载方式具体的思路、区别见Blog 。 |
| Pitaya.swift | Pitaya 是纯 Swift 写的 iOS 网络库,支持 Basic Authorization、SSL 钢钉、HTTP raw body / JSON body、快速文件上传等特性,并通过内置 JSONNeverDie 实现了对 JSON 的完全支持,开箱即用。 中文文档 |
| starscream.swift | starscream.swift:WebSocket客户端类库。 |
| SwiftNet.swift | 基于 RxSwift 和 Alamofire 的网络请求简易封装库。 |
| Networking.Swift | 使用简单、功能惊喜,基于 NSURLSession 的网络封装。 |
| EFInternetIndicator | swift 轻巧的一款 iOS 网络变更通知工具。 |
| SWNetworking | Powerful high-level iOS, macOS and tvOS networking library. from the creator of SWNetworking |
| Transporter | A tiny library makes uploading and downloading easier. |
| TRON | Lightweight network abstraction layer, written on top of Alamofire |
| Pitaya | A Swift HTTP / HTTPS networking library just incidentally execute on machines |
| ws ☁️ | Elegant JSON WebService in Swift. |
| Netdiag | A network diagnosis library. Support Ping/TcpPing/Rtmp/TraceRoute/DNS/external IP/external DNS |
| AFNetworkingHelper | A custom wrapper over AFNetworking library that we use inside RC extensively |
| SwiftyZeroMQ | ZeroMQ Swift Bindings for iOS, macOS, tvOS and watchOS. ⌚ |
| Frisbee | Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application |
| Restofire | Restofire is a protocol oriented network abstraction layer in swift that is built on top of Alamofire to use services in a declartive way |
| SolarNetwork | 基于Alamofire封装,揉和了Alamofire和Moya两者优点的一套简单易用的网络库。 |
| 网络聊天 | |
|---|---|
| [MessageKit.swift](https://github.com/MessageKit/MessageKit | 消息 UI 库 JSQMessagesViewController 的 Swift 版。 |
| [jchat-swift](https://github.com/jpush/jchat-swift | 一个聊天 App,具有完备的即时通讯功能,JChat 的功能基于极光 JMessage SDK 来开发。 |
| 网络测试 | |
|---|---|
| [Reachability.swift](https://github.com/ashleymills/Reachability.swift | 用于替换苹果的 Reachability 类,可以方便地检测当前是否联网以及具体的联网状态。 |
| [NetReachability](https://github.com/crazypoo/SimpleCarrie | swift2.0 简单的方法检查网络连接的连通性,提供通知中心集成接口。 |
| [SimpleBS.swift](https://github.com/bin1991/SimpleBS | 网络测试小工具。 |
| 网页框架 | |
|---|---|
| Perfect.swift | Perfect 致力于 Swift 服务端应用,从打造专业应用服务器开始。Swift服务端编程:Perfect项目上手指南 |
| swift-http | Swift HTTP Server,又一个 Swift 服务器,最大的亮点是支持 Docker 部署。 |
| Swifton | Swifton是一个优秀的Swift on Rails 的Web Framework。 |
| Taylor.swift | Taylor一个swift的轻量级的http服务器的库。 |
| NetworkObjects.swift | NetworkObjects.swift轻量版HttpServer框架,跨平台解决方案。 |
| Kitura.swift | Kitura.swift:安装、使用步骤及文档最为清晰地来自 IBM Swift 开发组的开源 Web 服务器。此外,IBM 云服务 Bluemix 也为 Swift 打开通路。 |
| NetworkExtension | |
|---|---|
| NEKit 一个网络扩展工具库,A toolkit for Network Extension Framework | |
| SpechtLite A rule-based proxy for macOS |
| CSV | |
|---|---|
| CSwiftV | A csv parser written in swift conforming to rfc4180 |
| SwiftCSV | CSV parser for Swift |
| Json | |
|---|---|
| SwiftyJSON | The better way to deal with JSON data in Swift. |
| ObjectMapper | 很赞 ObjectMapper 是一个基于 Swift 语言开发的能够让 JSON 与 Object 之间轻易转换的类库。通过 ObjectMapper 我们可以将 JSON 数据转换成 Model 对象或将 Model 对象转换成 JSON 数据。 Simple JSON Object mapping written in Swift |
| Decodable | Swift 2 JSON parsing done (more) right |
| Jay | Pure-Swift JSON parser & formatter. Linux & OS X ready. |
| XMLDictionary | ios与mac os平台下xml与NSDictionary相互转化开源类库 |
| AEXML.swift | AEXML.swift简单又易于的XML解析类及示例 |
| CFRuntime | “Swift 版的 MJExtension,运行时、反射与一键字典模型互转” |
| protobuf-swift | Protocol Buffers 的 Swift 语言实现库。P.S. Protocol Buffers 是 Google 开源项目,主要功能是实现直接序列化结构化的对象数据,方便跨平台快速传递,开发者也可以直接修改 protobuf 中的数据。相比 XML 和 JSON,protobuf 解析更快,存储更小 |
| JSONCodable | 基于 Swift 2.0 新特性(Protocol Extensions and Error Handling)的JSON 解析类 |
| JSONNeverDie.swift | JSON 到 Model 类的自动映射工具 |
| Fuzi.swift | Swift实现的轻量快速的 XML/HTML 解析器 |
| SWXMLHash.swift | 易用的 XML 解析类库。非常实用的“轮子” |
| YYModel | 高性能的 iOS JSON 模型框架 |
| Gloss | A shiny JSON parsing library in Swift |
| TidyJSON.swift | TidyJSON.swift一款简单、易用、明了的 JSON 解析小类库 |
| PMJSON.swift | PMJSON.swift简单、实用、高效的 JSON 解析类库 |
| Unbox.swift | 极为易用、轻量,更少辅助代码的 JSON 解析类 |
| Wrap.swift | 方便、易用的对象转 JSON 类库 |
| CollectionKit | A modern Swift framework for building reusable data-driven collection components |
| JASON | 高效的Json解析(Swift) Fast JSON parsing for Swift |
| JSONCodable | Swift json编码解码三方库 Hassle-free JSON encoding and decoding in Swift |
| Coolie | Swift json转model的三方库 Coolie helps you to create models (& their constructors) from JSON file |
| Tailor | 一个非常快和方便的对象映射Swift三方库 A super fast & convenient object mapper tailored for your needs |
| alexander | 一个非常简洁的json处理三方库 An extremely simple JSON helper written in Swift |
| Freddy | 一个可以重用的json解析库 A reusable framework for parsing JSON in Swift |
| mapper | 一个json反序列化库 A JSON deserialization library for Swift |
| AlamofireJsonToObjects | 一个将json data转为Swift对象的类扩展 An Alamofire extension which converts JSON response data into swift objects using EVReflection |
| Alembic | 功能性的json解析库 Functional JSON parsing, mapping to objects, and serialize to JSON |
| Wrap | The easy to use Swift JSON encoder |
| Arrow | 一个Swift JSON解析库 JSON Parsing Library for Swift |
| Genome | 一个易用、多样、安全,包含错误映射的JSON转Model的Swift库. A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 2.0 (Supports Linux) |
| FeedKit | An RSS and Atom feed parser written in Swift |
| typewriter | 客户端翻译服务端数据交换格式的代码翻译器 |
| xml | |
|---|---|
| AEXML | Simple and lightweight XML parser written in Swift. |