Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-06-2009, 04: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 07:16 PM. Reason: Erase bad info!!!
Iphoneer is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,177
Threads: 38,949
Posts: 170,877
Top Poster: smasher (2,565)
Welcome to our newest member, robwhistler
Powered by vBadvanced CMPS v3.1.0

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