Skip to content

Tried to make the Mediator pattern more generic #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2017

Conversation

ennioma
Copy link
Contributor

@ennioma ennioma commented Apr 20, 2017

  • Do not change the .playground nor README.md manually.
  • Go to /source and edit .swift files.
  • Run: generate-playground.sh

I reviewed the Mediator pattern just renaming MessageSending to Sender and letting the Programmer struct to adopt this protocol.

Then the Mediator class adopts the Sender protocol and it should be easily replaceable.

@ochococo
Copy link
Owner

ochococo commented Jul 5, 2017

Makes sense. Please rebase @ennioma .

@ochococo ochococo merged commit b6e4877 into ochococo:master Jul 5, 2017
@ochococo
Copy link
Owner

ochococo commented Jul 5, 2017

Thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants