About strongSelf
Ricardo1980 opened this issue · 4 comments
Ricardo1980 commented
I see the guide says:
guard let strongSelf = self else
but I would like to note that this is also possible
guard let `self` = self else
which is the one I use and I think is easier, and access self in the same way than we do.
rayfix commented
It would be really nice if this work but it is doesn't. It is actually considered a bug by the core team. (If you search in the issues you can find the reference.)
Ricardo1980 commented
Really? It is working perfectly in my app.
I will try to find that.
If someone has a link, please...
EtherTyper commented
@Ricardo1980 Yup, there's already been two issues asking about this. The original: #259
Ricardo1980 commented
Thanks a lot. Didn't see that.