In this article, we will learn what is the Observer design pattern and how to use it. The use case Let’s say we have a weather station that regularly takes measures of temperature and humidity: struct WeatherData: Equatable { var temperature: Int...

Markdown supported · ⌘↵ to post
No responses yet.