[swift-evolution] Proposal: Allow `[strong self]` capture in closures and remove the `self` requirement therein
andrey at tarantsov.com
Thu Dec 17 03:46:32 CST 2015
+1, this has been a noticeable source of annoyance. Marc Knaup has said it best:
> Developers will likely only ever write the rather uncommon [strong self] capture when they know what they are doing.
> Misuse can happen with any feature, but it is unlikely in this case.
I *am* concerned about an inconsistency here, though; is [strong self] just a magical workaround for one specific case, or could this be a part of a larger rule?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution