Communication Patterns in Swift: Delegates, Notifications and Closures
· 14 min read
Last updated on April 14, 2019
Developing an iOS application is all about sending and receiving data between two or more objects. We are using all of these great design patterns (Swift delegates, notifications, closures, KVO) in our iOS Starter Kits to build highly modularized code. In this article we are taking a closer look at each of these popular architectural patterns, discussing their pros and cons as well as showcasing code examples for each of them.