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

@noescape #5

Closed
onmyway133 opened this issue Dec 30, 2015 · 1 comment
Closed

@noescape #5

onmyway133 opened this issue Dec 30, 2015 · 1 comment

Comments

@onmyway133
Copy link

Hi, I just make my Configurable and realize you're 1 step before me 😄

I see that this pattern is now widely adopted in many projects, like Dip, ... for the compensation of Builder pattern. Like Dip, I have Initable which works on init as well, good for basic usage

One thing you can improve is to leverage @noescape http://nshint.io/blog/2015/10/23/noescape-attribute/

@devxoul
Copy link
Owner

devxoul commented Dec 30, 2015

@onmyway133, thank you for pointing it out!
There is already a PR for making closure non-escapable. (#1)
This will be shipped in next release.

@devxoul devxoul closed this as completed Dec 30, 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