ReverseScale / NetworkArchitectureDemo

Example of a network framework implemented in Swift, based on the MVC design pattern.
MIT License
5 stars 0 forks source link

为什么没有选择使用最新的 Moya 11 #1

Open conversun opened 6 years ago

conversun commented 6 years ago

使用方式上有变动, 不知一味追新是否正确呢..

ReverseScale commented 6 years ago

之前有升迁 Swift 4.0,当时 Moya 支持 Swift 4.0 的最新版本就是 Moya 10,过会儿我开个分支去升级吧。 不知一味追新,理论上是好的啊,毕竟有好用的新功能、修复了问题才会出新版。 具体就看项目工期和更新版本是否解决当前项目痛点了,也要考虑 Swift 项目的稳定性。

ReverseScale commented 6 years ago

要改变版本可以在 Podfile 里更改 pod 'Moya', '~> 10.0.0' 然后更新 pods 库,进行升级适配。