The model

The model is the core of the application. The business logic of the application, or, in simpler terms, the capabilities of the application on a whole can be termed as the model component of an application. The logic within the model layer might deal with storing and managing data to maintain the state of the application. All the network communications that your application makes, the parsing and complex calculations that it performs on the received data, all comes under the model layer.

Get Reactive Programming with Swift 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.