Fixed How do I avoid capturing self in blocks when implementing an API? #dev #it #asnwer
Fixed How do I avoid capturing self in blocks when implementing an API? #dev #itĀ #asnwer
How do I avoid capturing self in blocks when implementing an API?
I have a working app and Iām working on converting it to ARC in Xcode 4.2. One of the pre-check warnings involves capturing selfstrongly in a block leading to a retain cycle. Iāve made a simple code sample to illustrate the issue. I believe I understand what this means but Iām not sure the ācorrectā or recommended way to implementā¦
View On WordPress













