Entries by Ian MacCallum

Swift Design Patterns in Practice: the Decorator Pattern

Welcome to the first publication of “Swift Design Patterns in Practice,” a series of concrete use-cases of design patterns in real-world iOS applications. Today we will cover the Decorator Pattern and how it may be used when implementing the repo layer of an iOS application to interact with a RESTful API and a caching mechanism. […]