Mediator vs. Observer vs. Facade: 3 object communication patterns
Mediator coordinates tangled object relationships centrally, Observer broadcasts state changes one-to-many, and Facade wraps complex internals behind a simple entry point. Compare the three patterns and selection criteria with Swift examples.
Read article