Im using alamoFire on swift but i came across this problem: "isSuccess' is inaccessible due to 'internal' protection level". I have tried this and i have also tried this, here is my code:
AF.request(jsonURL, method: .get, parameters: parameters).responseJSON { (response) in
if response.result.isSuccess { //problem is here
print("Got the info")
print(response)
let flowerJSON : JSON = JSON(response.result.value!)
let list = flowerJSON["..."]["..."]["..."].stringValue
print(list)
}
}