AlamofireObjectMapper
AlamofireObjectMapper copied to clipboard
An Alamofire extension which converts JSON response data into swift objects using ObjectMapper
Compiler error when trying to build a project after updating modules. target - iOS 11
Alamofire 5
Hello. Thank you for AlamofireObjectMapper. In this pull request I replaced Alamofire 5.0.0-rc3 with Alamofire 5.
func getUsers() { let URLSTring = "https://jsonplaceholder.typicode.com/posts" AF.request(URLSTring).responseJSON { response in if let JSON = response.data { let str = String(decoding: JSON, as: UTF8.self) //print(str) let result = Mapper().map(JSONString: str)...
Alamofire verison is (pod info): `Installing Alamofire 5.0.5 (was 5.4.1)` AlamofireObjectMapper version is (pod info): `Installing AlamofireObjectMapper (6.0.0)`  Generic type 'DataResponse' specialized with too few type parameters (got 1,...
Created to use it with Swift Package Manager
based on pod versions: - AlamofireObjectMapper (5.2.0): - Alamofire (~> 4.7) - ObjectMapper (~> 3.4)
Spm