Network layer is very common and essential part of modern mobile apps. It usually takes the form of a manager class that takes care of every network request throughout your app.
Considering the separation of concern, a good networking layer is usually decoupled from the view code. Logic controllers or view controllers use the network manager to request certain API calls for example, and subsequently get a callback once the request succeeds or fails to reflect the result to the views. So ideally, the network manager should never know anything about the views.
There’s a very unique situation that makes…
Senior iOS engineer @Patreon. Draw iOS comic on Instagram(deriveddata) and Twitter(@derived_data). Former UI designer