October 2017
Intermediate to advanced
210 pages
5h 32m
English
In this section, we will look at how we can use the proxy pattern to put a layer of abstraction between our code and a remote API. This will enable us to hide the implementation details of the remote API within the local proxy type. For this example, we will create a proxy type that will retrieve information from Apple's iTunes API.
To implement this pattern, we will need to begin by creating a type that will act as the proxy for the iTunes API. Since ...
Read now
Unlock full access