SkillAgentSearch skills...

Awesome

提供iOS精选列表,包含Objective-C和Swift项目,涉及鸿蒙开发、Flutter、React Native、Weex、H5、小程序、区块链、数据库、游戏开发等教程(Provides a curated list of awesome iOS, including Objective-C and Swift Projects, covering tutorials on HarmonyOS development, Flutter, React Native, Weex, H5, mini programs, blockchain, databases, game development, and more.)。

Install / Use

/learn @itenfay/Awesome

README

Awesome

提供iOS精选列表,包含Objective-C和Swift项目,涉及鸿蒙开发、Flutter、React Native、Weex、H5、小程序、区块链、数据库、游戏开发等教程(Provides a curated list of awesome iOS, including Objective-C and Swift Projects, covering tutorials on HarmonyOS development, Flutter, React Native, Weex, H5, mini programs, blockchain, databases, game development, and more.)。

License MIT 

Group

| ID | QRCode | Description | | :-------------: | :--------------------------------------: | :-------------------------------------: | | 614799921 | 614799921 | Technology communication group for iOS & macOS | | 155353383 | 155353383 | Technology communication group for other Dev-Lang |

Catalog

iOS Catalog

Apple Developer

HarmonyOS Development

Flutter

React Native

Weex

H5

MiniProgram

C and Cplusplus

Blockchain

Database

Games

Scripts

Others

iOS

AFNetworking-Alamofire

  • AFNetworking - A delightful networking framework for iOS, macOS, watchOS, and tvOS. <div align=center> <img src="https://camo.githubusercontent.com/0241eb0b662cc5591949671971a0cbed6f1b5d3118af64cdf47df1f1b3b17a9e/68747470733a2f2f7261772e6769746875622e636f6d2f41464e6574776f726b696e672f41464e6574776f726b696e672f6173736574732f61666e6574776f726b696e672d6c6f676f2e706e67" width="50%" /> </div>

NSURLSession:

  • AFURLSessionManager
  • AFHTTPSessionManager

Security:

  • AFSecurityPolicy

Reachability:

  • AFNetworkReachabilityManager

Serialization:

  • <AFURLRequestSerialization>
    • AFHTTPRequestSerializer
    • AFJSONRequestSerializer
    • AFPropertyListRequestSerializer
  • <AFURLResponseSerialization>
    • AFHTTPResponseSerializer
    • AFJSONResponseSerializer
    • AFXMLParserResponseSerializer
    • AFXMLDocumentResponseSerializer (macOS)
    • AFPropertyListResponseSerializer
    • AFImageResponseSerializer
    • AFCompoundResponseSerializer

UIKit:

  • Adding properties in the form of catagory.

  • Alamofire - Alamofire is an HTTP networking library written in Swift. <div align=center> <img src="https://raw.githubusercontent.com/Alamofire/Alamofire/master/Resources/AlamofireLogo.png" width="50%" /> </div>

Core目录下各个文件的功能简述:

  • Alamofire.swift -- 该文件中主要是给用户提供一些便利的调用方法,用户可以直接调用该文件中的便利方法来使用Alamofire相关功能。
  • Manager.swift -- Manager中定义了Session对象,Session相关的Delegate,以及Delegate执行的队列等相关信息,在Manager中创建Request对象发起请求。Manager管理的就是各种请求,Manager对象是以单例的形式对外开放的。
  • Request.swift -- 该文件如其名,就是负责创建Session的各种task的,并执行相关的SessionTask,并调用相关书籍解析的功能模块对数据进行解析并通过回调返回给用户。
  • ParameterEncoding.swift -- 负责请求参数的各种编码(URL、URLEncodedInURL、JSON、PropertyList等编码),并将编码后的数据与URLRequest结合后的结果进行返回。
  • Result.swift -- 对解析后的数据封装成Result对象。
  • Response.swift -- 负责将服务器相应的数据进行封装生成Response对象,该对象中就包括上述的Result对象,用户最终会通过闭包回调的形式获取到该Response的对象。
  • Notifications.swift -- 其中是一个Notification结构体,该结构体中定义了一些字符串,这些字符串就是所需通知的Key,当网络请求DidResume、DidSuspend、DidCancel、DidComplete都会发出通知。
  • Error.swift -- 其中是一个Error的结构体,其中封装的是各种错误状态。

Features目录下各个文件的功能简述:

  • Download.swift -- 对Manager和Request类进行扩展,使其支持Down Task,其中封装了NSURLSessionDownloadDelegate相关代理方法。
  • Upload.swift -- 在该文件中也是对Manager和Request类进行的扩展,使其支持Upload Task,其中封装了NSURLSessionDataDelegate中获取上传数据进度的代理方法,也就是taskDidSendBodyData代理方法。
  • MultipartFormData.swift -- 该文件从名字就可以看出是为了组织多表单数据上传的数据的,在Upload Task中就使用到了MultipartFormData。
  • Stream.swift -- 和Download和Upload文件相似,该文件中也是对Manager和Rquest做延展,主要使其支持数据流的传输,其中主要封装和实现了NSURLSessionStreamDelegate相关的代理方法。
  • ResponseSerialization.swift -- 该文件中主要是对Request类进行数据解析的延展的。其中封装了各种对响应数据的解析方式,其中包括Data、String、JSON、PropertyList等解析方式。
  • NetworkReachabilityManager.swift -- 该文件主要是对SystemConfiguration.framework中的SCNetworkReachability相关的东西进行封装的,主要用来管理和监听网络状态的变化。
  • ServerTrustPolicy.swift -- 这个文件主要是对NSURLSession做的延展,其中定义了各种网络请求的认证策略,主要证书认证相关东西。
  • Timeline.swift -- 该文件是为了方便调试而生的,其中记录了相关操作的时间点,并且对其进行记录,便于在Debug时使用到。
  • Validation.swift -- 主要是用来验证请求是否成功,如果出错了就做相应的处理。

SDWebImage

  • SDWebImage - This library provides an async image downloader with cache support. For convenience, we added categories for UI elements like UIImageView, UIButton, MKAnnotationView ([Examples](https://github.com/SDWebIm
View on GitHub
GitHub Stars244
CategoryDevelopment
Updated2d ago
Forks62

Security Score

85/100

Audited on Mar 30, 2026

No findings