我从事一个项目,在那里我必须从php服务器接收数据。一切都很好,只有两件事: 1.)不能解析日期。我知道这个问题是在这里回答的,但在我的例子中没有一个变体起作用。这是我的密码import SwiftyJSON
guard let id = id else {return}
let jsonUrlString = "https://sverlim.software/cms/clientReadOneClient.php?client_id=10
因此,我试图弄清楚如何使用领域、Moya和ObjectMapper。但是,我现在遇到了一个问题,我不知道如何解码JSON响应,以便让它通过映射器。provider.request(.signIn(email: email, password: password)) { result in case let .success(response):