Output Port Adapter for Single Point of Configuration in Complex UI
When you have nested and complex UI components with multiple sub-view controllers, passing an optional output port (event handler or delegate) down the tree is cumbersome. There are two straight-forward approaches: The second option is “cleaner”, but for a two or three object component might also feel a bit too much.