Ahh memory leaks… At first you don't even know they can exist, then you ignore them, and then you start seeing them everywhere without knowing how do handle them properly.
OK, so maybe now is the time to understand clearly, when they can happen and what tools you can use to get rid of them.
Apple made a great article about strong reference cycles in classes. It's easy to understand what is a memory leak and how to avoid them in this case. However, this is a pretty rare scenario, and quite easy to spot. I find the part about closures a lot more confusing. So let's clarify this once and for all.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C
,Memory Leaks,Objective C Closure,Swift