Skip to content
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

Delegate not appropriate for Singleton #10

Closed
ricsantos opened this issue Nov 16, 2014 · 0 comments
Closed

Delegate not appropriate for Singleton #10

ricsantos opened this issue Nov 16, 2014 · 0 comments

Comments

@ricsantos
Copy link
Contributor

The use of a single delegate to receive callbacks doesn't really fit well with at singleton pattern. One option to remedy this is to change from a protocol for callbacks to notifications. Another option would be to remove the singleton part.

arturdev pushed a commit that referenced this issue Mar 12, 2015
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

No branches or pull requests

2 participants