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 self strongly 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 this type of scenario. self is an instance of class MyAPI the code below is simplified to show only the interactions with the objects and blocks relevant to