Design-Patterns-In-Swift
Design-Patterns-In-Swift copied to clipboard
Lose call flow in mediator example
trafficstars
In Mediator case, just have the MessageMediator broadcast the message to all Programmers. But In GOF, mediator structure like below:

Apparently, programmers need to communicate with each other, so they also need to hold the MessageMediator. Looking forward to your reply, thanks.
Thanks for starting the discussion! Can you elaborate a little bit more @cash0211 ?