Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Model-View-ViewModel for iOS.
Networking code goes to a network controller which sends outs requests and updates the model when the results arrive from the network.
The network controller can easily be unit tested.
A controller doesn't have to be a monolithic massive class. It can consist of sub controllers, each one dealing with a specific task.
There are no comments on this comment yet.
Networking code goes to a network controller which sends outs requests and updates the model when the results arrive from the network.
The network controller can easily be unit tested.
A controller doesn't have to be a monolithic massive class. It can consist of sub controllers, each one dealing with a specific task.