Ahmed Lotfy Ahmed Lotfy - 1 month ago 15
iOS Question

What is the best solution to fix defects after migrating to Alamofire 4 and Swift3

I convert my project code to Swift 3. I used heavily Alamofire. I updated it to Almofire 4, but I faced many errors related the changing in the methods names and the order of the parameters.

What is the best solution to fix all these issues?

Answer

The best solution my opinion after migration to Alamofire 4 and Swift3: Manually rename methods and reoprder parameters as a new style.

Each error I searched on the correct name and parameters in this guide and in the Alamofire main page.