Completion Handlers vs. Delegation when making API Calls

Viewed 142

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 Im not sure if its a good thing to do!

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

0 Answers
Related