Generic Network Layer in iOS Development with Swift
4 min readApr 19, 2020
Problem
Struggling in the network layer when sending requests and parsing responses.
Solution
Applying generic, modular network layer. The solution includes Generic Type, Completion, Singleton, Codable, URLSession and OOP(Object Oriented Programming) terms.