Fresh Swift
  • About
  • Tags
Fresh Swift

#delegate


Multicast Delegate and Delegates Composition

The delegate pattern is familiar to most iOS developers, and is used heavily by Apple to achieve object composition without inheritance. In this post, Vadim Bulavin looks at a variation of this pattern, which he calls multicast delegation. Vadim provides Swift code example throughout to aid understanding.

Posted on June 3, 2018

#delegate 

Using Channels for Data Flow in Swift 📻

Göksel Köksal looks at how we usually pass information around using the delegation and observer patterns, and then suggests an alternative approach. His approach is a lightweight observer pattern implementation which uses Channels.

Posted on March 27, 2018

#delegate  #observer 

 •  2021  •  Fresh Swift

Hugo v0.82.0 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo