There many scenarios where protocols are really useful in Swift programming, and one of benefits is that they allow the reusability of your code.
Time ago we were used to store our data in the UserDefaults by simply using a string-key. Every time we needed to take care of the data type. setBool(_: forKey:_) & co were the solution.
The connection topic is always a little bit confusing. In this article I'm going to talk about the `UIViewController` state during the API requests. I usually see something like this
class ViewController …