DI-tutorial

My first beautiful simple application based on tutorial of how to use DI in swift.

I learned how to add Targets in project and build app from independent parts. It only fetch data from API and shows in TableView. But In contrast of other my projects, this app consists of three independent parts:

  • Public shared contracts,
  • Api Manager depends only Contracts, and contain all logic for work with api.
  • UI part, also depends only Contracts, contain all logic for work with UI to show data in table view

image image

links:

public api for data some random users: https://randomuser.me

base tutorial: https://www.youtube.com/watch?v=ooUyCbO4hNw