Moya with SwiftyJSON using Moya-SwiftyJSONMapper

I’ve just released Moya-SwiftyJSONMapper which makes it really easy to map MoyaResponse to a struct or model inheriting from the ALSwiftyJSONAble protocol in combination with SwiftyJSON. Model creation with SwiftyJSON After you’ve created your model: import Foundation import Moya_SwiftyJSONMapper import SwiftyJSON final class GetResponse : ALSwiftyJSONAble { let url:NSURL? let origin:String let args:[String: String]? required … 

 
Follow on Feedly