ブロックの外でまず
__unsafe_unretained typeof(self) weakSelf = self;
と宣言して、 ブロック内ではweakSelfを用いる
###Reference
http://stackoverflow.com/questions/14556605/capturing-self-strongly-in-this-block-is-likely-to-lead-to-a-retain-cycle
Go to list of users who liked
More than 5 years have passed since last update.
ブロックの外でまず
__unsafe_unretained typeof(self) weakSelf = self;
と宣言して、 ブロック内ではweakSelfを用いる
###Reference
http://stackoverflow.com/questions/14556605/capturing-self-strongly-in-this-block-is-likely-to-lead-to-a-retain-cycle
Register as a new user and use Qiita more conveniently
Go to list of users who liked