So, I got to the damn part of my application development, where I look at the check for memory leaks. I decided to give Xcode Leaks a whirlwind. When I first launched it, he told me that I have no memory leaks. After a moment of joy, I carefully looked, looked through the distribution and realized that I had several objects in my memory that I did not need there. For example, every time I created a UIAlertView (which was quite common in my application), I never release them when they were fired from the view. This caused several UIAlertView objects to appear around.
So my question is: how do leaks detect a memory leak? Why didn't I say that there were some leaks when I had UIAlertView objects that floated around? Am I just misusing leaks?
source share