Persian
Persian

Reputation: 294

Completion Handlers vs. Delegation when making API Calls

I am making an app and I have to make API calls often so I was wondering which is better and why?

I am making a different class for my API calls as it makes my code much more readable and neat but I'm not sure if its a good thing to do!

I am using Alamofire to make all of the API calls.

Upvotes: 3

Views: 149

Answers (0)

Related Questions