teerox / Nimble-iOS-Challenge

0 stars 0 forks source link

Network issues #14

Open minhnimble opened 2 years ago

minhnimble commented 2 years ago

I am curious if you are aware of or have the experience working with any 3rd party networking library? As I notice that you are writing your APIEndpoint class purely with Apple's Foundation networking stack. What are your opinions on the pros and cons when handling networking using just Apple's Foundation networking? And should we update to use a 3rd party library here instead like Alamofire for the application?

Furthermore, it can be seen that all the different types of endpoints are being put in one single Endpoint class. Can you tell me a little more why do you think a single Endpoint class should contain all the endpoints like this and in your opinion should we create a separate file for each endpoint type?