2013年6月5日星期三

Using block with self api and avoids the retain cycle


      I'm leaving Beijing to Hangzhou, and join Alibaba wireless department now. Currently involved in a new product with a workmate.
      The project's iOS Deployment Target is iOS 5.0, so we begin to use ARC happily. Before this project, I always use MRC instead. And after learning changes between ARC and MRC we set off.
      But yesterday we found we seemed to have retain cycle in our project, and my first idea was this may have relation with using self api in block. Then I googled it, and found solution in StackOverflow here. Please check it out.



------

My new business with my wife, wholesale meddle-to-high end men's seamless underwear in the Netherlands: https://ecosharelife.com

没有评论:

发表评论