Quote:
Originally Posted by PhoneyDeveloper
If you're using ObjectAlloc then it can tell you exactly what kind of blocks of memory are not being dealloced.
|
I tried to figure this out but I couldn't find that memory in the list. Can you point me to some document that explains how to track a specific allocation?
Quote:
Originally Posted by PhoneyDeveloper
I don't see in your dealloc method that you release the imageView.
|
Yes... I'm calling releaseImage before release always. (for debugging purposes). It would be easy to add [self releaseImage] in the release method.
Quote:
Originally Posted by PhoneyDeveloper
Also, my suggestion regarding the way that imageview's in nibs load their images referred to the image, not the imageview. What I mean is that it's ok to have an imageview in the nib, just don't have an image assigned to it. You seem to be building both the image and the imageview in awakeFromNib. I think you only need to build the image. In this way nothing needs to be retained by your vc.
|
I have many views that are using this, and so instead of inserting a UIImageView manually in IB in each one I'm doing it here programmatically.