133

Codable 的迁移方案 | kemchenj

 6 years ago
source link: https://kemchenj.github.io/2017-10-13/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
最近刚换工作,在迁移 Swift 4.0,其实我感觉 Swift 3.0 的时候迁移工作更容易一点,因为所有库都很积极地升级版本,而现在反而都在做 Swift 3.2 的兼容方案,每个库的兼容状况不同让迁移工作变得更难。但今天想说的是另一个问题,Codable 的迁移,我们项目里是用了 Moya + ObjectMapper 的方案,使用 Swift 的话,大家使用的 JSON 解析方案应该都一样

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK