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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-06-2009, 05:33 PM   #4 (permalink)
Iphoneer
Registered Member
 
Join Date: Oct 2009
Posts: 52
Default

[quote=krille;95037]

Your dealloc method should include a call to super dealloc. Leaving that off, and it's pretty easy to do, can cause an object to stick around though the retain count for the object is actually zero.


Example dealloc

Code:
    -(void)dealloc {  
      [mobil release];  
      self.mobil = nil;    
      [super dealloc];
  }

Last edited by Iphoneer; 11-06-2009 at 08:16 PM. Reason: Erase bad info!!!
Iphoneer is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,746
Threads: 89,201
Posts: 380,567
Top Poster: BrianSlick (7,129)
Welcome to our newest member, raKinesic
Powered by vBadvanced CMPS v3.1.0

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