[2012-06-06 21:05:12] ARC retain cycleã¨è¦åãããããã§ããï¼ Capturing 'self' strongly in this block is likely to lead to a retain cycle ãã®ã¨ãã®ã³ã¼ãã¯ãããªæãï¼ãããã¯ã§selfåç §ãããï¼ã¤ã³ã¹ã¿ã³ã¹å¤æ°åç §ããããã¦ãã¨æãããï¼ @implementation Hoge -(void)hogeMethod{ hogeHandler = ^(Fuga *fuga){ [self someMethod:fuga]; }; } @end ããï¼selfããã£ã¨åå¨ããããhogeHandlerã®åç §ãæ¸ããªãã®ãï¼ã ãã__blockã¤ãã¦ããã¨ï¼Reference Count使ããªãæå®ãã§ãããããªï¼ è¨æ£ç @implementation Hoge -(void
{{#tags}}- {{label}}
{{/tags}}