skip to Main Content

Ios swift – Parse Bool response using Alamofire

I have old code from team where they were failing to parse Bool response. NetworkManager.shared().executeWith(request: APIRouter.firebasetoken(param)) { (httpResponse, jsonData, error) in if httpResponse?.statusCode == 200 { guard let json = jsonData else {return} if let isSuccess = json.bool, isSuccess ==…

VIEW QUESTION
Back To Top
Search