/NetworkLayer

Learn to write a Network Layer in Swift with Protocol-Oriented Approach

Primary LanguageSwift

NetworkLayer

Learn to write a Network Layer in Swift with Protocol-Oriented Approach

A simple example to implement a network layer in pure Swift without any third-party libraries. The code is mainly designed in:

  • protocol-oriented
  • easy to use
  • easy to implement
  • type safe
  • use enums to configure endPoints.