devxoul / Then

✨ Super sweet syntactic sugar for Swift initializers
MIT License
4.18k stars 290 forks source link

Make block non-escapable #1

Closed DenTelezhkin closed 8 years ago

DenTelezhkin commented 8 years ago

This actually allows to not use self in closures if you are referring to class properties. And probably such construct should not allow closure to escape anyway =)

devxoul commented 8 years ago

@DenHeadless, thank you for your work! This PR will be shipped in 0.2.0 release.