how can you guys eliminate a lot of code duplication in your codebase?

Copying and pasting code often occurs in our ios application when we perform generic code logic.  And how can  you guys  eliminate a lot of code duplication in your codebase?
You already invited:

Aamir

Upvotes from: Gailad

It's possible to make generic function more powerful by creating a API endpoints enum and add a parameters parameter to handle different URLS.

If you wanna answer this question please Login or Register