Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-29-2009, 06:27 PM   #8 (permalink)
sbwoodside
Registered Member
 
Join Date: Feb 2009
Posts: 15
sbwoodside is on a distinguished road
Default

Quote:
Originally Posted by PhoneyDeveloper View Post
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 View Post
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 View Post
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.
sbwoodside is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,633
Threads: 94,090
Posts: 402,803
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nor9849
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:13 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.