Software Dev

Using Protocols to Remove the Network Layer from Your iOS App

Most of us developers know can we can should abstract the network layer to support mocking, unit testing, and just to produce a more flexible design.

While lots of us know this, in practice it seems to get overly complicated and not always done well. A good design should simplify things, not complicate things. This is why I like this post focusing on using protocols to simplify network requests and improve testability. It even gets into decoding responses to give you a useful end-to-end flow.

👉 Removing the network layer in your iOS app

Even better, this is part of a Power of Protocols series (yay!).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.